If a native driver has indicated support for driver gestalt, as described in the previous section, it must conform to these rules:
The kcsDriverGestalt and kcsDriverConfigure codes produce the principal functionality of the native driver model. For historical reasons, setting the DriverGestaltEnable bit also requires that the other calls listed in Table 8-3 either be supported or return an error code. Future control or status calls for all native PCI drivers will be implemented using only selectors through DriverGestalt and DriverConfigure.
Table 8-3 Driver gestalt codes
kcsDriverGestalt | 43 | General status information |
kcsGetPowerMode | 70 | Returns card power mode 1 |
kcsReturnDeviceID | 120 | Returns SCSI device ID in csParam[0] |
kcsDriverConfigure | 43 | General configuration commands |
kcsSetStartupDrive | 44 | Designates partition as a boot partition |
kcsSetPowerMode | 70 | Sets card power mode * |