|
|
If a DDI driver supports a device that can run on both an ISA and another bus type (such as PCI), you will need to take the following steps:
NOTE: OLD DOC SAID: No System file entry is required for the PCI card in this case.
NOTE: OLD DOC SAID: If both types of cards are configured on the same system, only the resource manager entry for the PCI device is created automatically. You will have to use the DCU (or, for MDI network drivers, the netcfg command)
If only one ISA card is configured or no card is configured, a single resource manager entry is created with the BRDBUSTYPE parameter set to ISA. If one or more PCI cards are configured, a resource manager entry is created for each card with the BRDBUSTYPE parameter set to PCI.
If multiple ISA cards are configured or if the ISA card does not use the default settings that are listed in the System file, run dcu -S (or netcfg) to add the entries for additional cards or to change the values for the card that does not use the default settings.
The dpt sample driver provided in the HDK's hbasamp package supports both ISA and PCI controllers and illustrates how to handle this situation.
The tok sample driver provided in the HDK's ndsample package supports both ISA and MCA controllers and illustrates how to handle this situation. Similar coding and DSP files would be used for a driver that supports both ISA and PCI.