summaryrefslogtreecommitdiff
path: root/drivers/pci_indirect.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-18 11:30:09 +0000
committerwdenk <wdenk>2003-05-18 11:30:09 +0000
commit66fd3d1ce732d9168d6a056986231ada8dfa500e (patch)
tree4b0d3f9094ef6525c631baf01268d21317496e81 /drivers/pci_indirect.c
parent45219c46605f9b933ab454738ee4ce543d5b70d6 (diff)
Add support for CompactFlash on ATC board
(includes support for Intel 82365 and compatible PC Card controllers, and Yenta-compatible PCI-to-CardBus controllers)
Diffstat (limited to 'drivers/pci_indirect.c')
-rw-r--r--drivers/pci_indirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci_indirect.c b/drivers/pci_indirect.c
index f7b4422451..fdf4d130a5 100644
--- a/drivers/pci_indirect.c
+++ b/drivers/pci_indirect.c
@@ -21,7 +21,7 @@
#define cfg_read(val, addr, type, op) *val = op((type)(addr))
#define cfg_write(val, addr, type, op) op((type *)(addr), (val))
-#ifdef CONFIG_PM826
+#if defined(CONFIG_PM826) || defined(CONFIG_ATC)
#define INDIRECT_PCI_OP(rw, size, type, op, mask) \
static int \
indirect_##rw##_config_##size(struct pci_controller *hose, \