mac80211: fix wext bssid/ssid setting
[linux-2.6/verdex.git] / include / linux / aer.h
blobf7df1eefc1071ac71a985650343ec1ca2bfbf9ac
1 /*
2 * Copyright (C) 2006 Intel Corp.
3 * Tom Long Nguyen (tom.l.nguyen@intel.com)
4 * Zhang Yanmin (yanmin.zhang@intel.com)
5 */
7 #ifndef _AER_H_
8 #define _AER_H_
10 #if defined(CONFIG_PCIEAER)
11 /* pci-e port driver needs this function to enable aer */
12 extern int pci_enable_pcie_error_reporting(struct pci_dev *dev);
13 extern int pci_disable_pcie_error_reporting(struct pci_dev *dev);
14 extern int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev);
15 #else
16 static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev)
18 return -EINVAL;
20 static inline int pci_disable_pcie_error_reporting(struct pci_dev *dev)
22 return -EINVAL;
24 static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev)
26 return -EINVAL;
28 #endif
30 #endif //_AER_H_