Tuesday, March 15, 2005 2:51 PM Linas Vepstas wrote: >> +void hw_aer_unregister(void) >> +{ >> + struct pci_dev *dev = (struct pci_dev*)host->dev; >> + unsigned short id; >> + >> + id = (dev->bus->number << 8) | dev->devfn; >> + >> + /* Unregister with AER Root driver */ >> + pcie_aer_unregister(id); >> +} > >I don't understand how this can work on a system with >more than one domain. On any midrange/high-end system, >you'll have a number of devices with identical values >for (bus->number << 8) | devfn)
Good catch! I forgot to encounter multiple segments. However, based on LKML inputs for a common interface in the pci_driver data structure, it appears that pcie_aer_register and pcie_aer_unregister are no longer required. Thanks, Long - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/