diff options
author | Brice Goglin <brice@myri.com> | 2006-08-31 01:55:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 17:43:52 -0700 |
commit | 24334a12533e9ac70dcb467ccd629f190afc5361 (patch) | |
tree | bf771331e8b657fd4f4e7170a4ad3dc437b8d514 /drivers/pci/probe.c | |
parent | 3f79e107f72e8efa86cd2f21356692b712713b5c (diff) |
MSI: Factorize common code in pci_msi_supported()
pci_enable_msi() and pci_enable_msix() use the same code to detect
whether MSI might be enabled on this device. Factorize this code in
pci_msi_supported(). And improve the documentation about the fact
that only the root chipset must support MSI, but it is hard to
find the root bus so we check all parent busses MSI flags.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions