|
|
#include <sys/confmgr.h> #include <sys/cm_i386at.h> #include <sys/ddi.h>
The configuration manager parameters use the following defined types:
startaddr
and endaddr
.
These are the starting and ending addresses, inclusive.
'\0'
).
The following pre-defined parameters correspond to the configuration information in a driver's System file:
The following pre-defined parameters are also available to drivers:
CM_BUS_UNK
CM_BUS_I2O
CM_BUS_ISA
CM_BUS_EISA
CM_BUS_PCI
CM_BUS_PCCARD
CM_BUS_PNPISA
CM_BUS_MCA
CM_BUS_SYS
CM_SET_IRQ
CM_SET_ITYPE
CM_SET_IOADDR
CM_SET_MEMADDR
CM_SET_DMAC
EISA board IDs are in uncompressed form as defined in the EISA spec.
MCA board IDs are in the form:
0xDDDD
where each D is a hex digit, 0 - 9 or A - F.
MCA board IDs must be four digits; when
necessary leading zeroes must be used. For
example:
0xABC is not correct.
0x0ABC is correct.
PCI board IDs are in the form:
0xVVVVDDDD
where V and D are hex digits, 0 - 9 or A - F, VVVV is the vendor ID and DDDD is the device ID. PCI board IDs must be eight digits; when necessary leading zeroes must be used.
PCCARD board IDs are specified as:
0xVVVVIIII
where V and I are hex digits, 0 - 9 or A - F. VVVV is the PC Card manufacturer code (TPLMID_MANF) and IIII is the manufacturer information (TPLMID_CARD) from the Manufacturer Identification Tuple (CISTPL_MANFID). If a CISTPL_MANFID tuple is is not found, a board ID will be created by making a checksum out of the bytes comprising the Level 1 Version/Product Information Tuple (CISTPL_VERS_1).
ddi: 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
CM_PCMCIA is an alias for CM_BUS_PCCARD and has the same effect, although CM_BUS_PCCARD should always be used for drivers developed to the pccard interface. On some earlier systems, the CM_BUS_PCCARD symbol is not available at compile time and CM_PCMCIA must be used instead.
``Bus'' in HDK Technical Reference
``Configuration manager'' in HDK Technical Reference
``PCI'' in HDK Technical Reference