diff options
author | Warner Losh <imp@FreeBSD.org> | 2008-11-02 18:48:54 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2008-11-02 18:48:54 +0000 |
commit | 132580b5afe793421e1fa57085e8e9c5fa928b86 (patch) | |
tree | 75daffb6fb9ee47bd587003a933fb3a9e9254f46 /sys/isa/isavar.h | |
parent | 96cf0b6d564cb8e951211330c7e328b5ea65544f (diff) | |
download | src-132580b5afe793421e1fa57085e8e9c5fa928b86.tar.gz src-132580b5afe793421e1fa57085e8e9c5fa928b86.zip |
MFp4:
Make the ISA bus keep track of more PNP details. Plus a minor style
fix while I'm here. More could be done here, but except for some SBCs
that don't have ACPI, there's limited value to anybody in doing so.
Notes
Notes:
svn path=/head/; revision=184564
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r-- | sys/isa/isavar.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h index 748833a38442..59d3bc90a085 100644 --- a/sys/isa/isavar.h +++ b/sys/isa/isavar.h @@ -48,7 +48,7 @@ typedef void isa_config_cb(void *arg, struct isa_config *config, int enable); #define ISA_ORDER_PNPBIOS 10 /* plug-and-play BIOS inflexible hardware */ #define ISA_ORDER_SENSITIVE 20 /* legacy sensitive hardware */ #define ISA_ORDER_SPECULATIVE 30 /* legacy non-sensitive hardware */ -#define ISA_ORDER_PNP 40 /* plug-and-play hardware */ +#define ISA_ORDER_PNP 40 /* plug-and-play flexible hardware */ /* * Limits on resources that we can manage @@ -125,7 +125,10 @@ enum isa_device_ivars { ISA_IVAR_SERIAL, ISA_IVAR_LOGICALID, ISA_IVAR_COMPATID, - ISA_IVAR_CONFIGATTR + ISA_IVAR_CONFIGATTR, + ISA_IVAR_PNP_CSN, + ISA_IVAR_PNP_LDN, + ISA_IVAR_PNPBIOS_HANDLE }; /* @@ -152,6 +155,9 @@ ISA_ACCESSOR(serial, SERIAL, int) ISA_ACCESSOR(logicalid, LOGICALID, int) ISA_ACCESSOR(compatid, COMPATID, int) ISA_ACCESSOR(configattr, CONFIGATTR, int) +ISA_ACCESSOR(pnp_csn, PNP_CSN, int) +ISA_ACCESSOR(pnp_ldn, PNP_LDN, int) +ISA_ACCESSOR(pnpbios_handle, PNPBIOS_HANDLE, int) /* Device class for ISA bridges. */ extern devclass_t isab_devclass; |