On 11/24/10 03:51 PM, Kyle McDonald wrote:
The doc seemed to make it sound like you should avoid using the pci_* functions unless the ddi_regs_map_setup wouldn't do what you wanted...
I believe this was written in the context of supporting a device on systems with different bus types (i.e., not PCI, PCI-X, PCI-E). I still believe you should use the pci_* functions, but I'm being a hypocrite since the NVIDIA driver does exactly what you are asking (ddi_regs_map_setup(,0,...) followed by pci_config_* calls). I need to correct this before it bites me someday. _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
