diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-06-05 03:10:50 -0700 |
---|---|---|
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-06-05 03:10:50 -0700 |
commit | db25d52921f95f6ebb275092c7fdd7e7ede35c6d (patch) | |
tree | c79dda48ac77d96d1ce0ea6ef5608fe6daa87da2 | |
parent | 530dcd22eee034cbea5c710185700cae1171d779 (diff) | |
download | compat-wireless-2.6-old-db25d52921f95f6ebb275092c7fdd7e7ede35c6d.tar.gz |
Use HAVE_PCI_SET_MWI instead of PCI_DISABLE_MWI.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r-- | compat/compat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/compat.c b/compat/compat.c index 5b172a7..88ad830 100644 --- a/compat/compat.c +++ b/compat/compat.c @@ -615,13 +615,14 @@ void __dev_set_rx_mode(struct net_device *dev) dev->set_multicast_list(dev); } -#ifdef PCI_DISABLE_MWI +#ifndef HAVE_PCI_SET_MWI int pci_try_set_mwi(struct pci_dev *dev) { return 0; } EXPORT_SYMBOL(pci_try_set_mwi); #else + /** * pci_try_set_mwi - enables memory-write-invalidate PCI transaction * @dev: the PCI device for which MWI is enabled |