wendy writes: > Hello, > > I am wondering if the function ddi_intr_get_supported_types( ) returns > supported interrupt types by the OS or the device? How do I know if a PCI > card can support MSI (messaged signaled interrupt)?
According to the man page, it is the intersection of the two. We use it in our driver, and it seems to work well. > Lots of drivers use .conf file to enable/disable MSI interrupt, I am looking > for an auto detection method. I think that the .conf is used in addition to an auto detection mechanism to work around bugs in MSI support. For example, on 10U1 on T2000, you'll find that ddi_intr_remove_handler() returns DDI_FAILURE for MSI interrupts. This prevents you from reloading a driver, and thus prevents customers from upgrading the driver w/o a reboot. For this reason, we have a .conf setting to disable the use of MSI. Drew _______________________________________________ networking-discuss mailing list [email protected]
