commit | 4654af27b894277c9e3dac5359f6b3e74d1405ac | [log] [tgz] |
---|---|---|
author | wdenk <wdenk> | Wed Oct 22 09:00:28 2003 +0000 |
committer | wdenk <wdenk> | Wed Oct 22 09:00:28 2003 +0000 |
tree | 9dab871bcc0aec4e86f6ec336011023d5af4978f | |
parent | a3ad8e26a4ac96838b2963cb462770c70c9f6443 [diff] [blame] |
Fix PCI problems on PPChameleon board
diff --git a/drivers/ns8382x.c b/drivers/ns8382x.c index 978080e..154d6ca 100644 --- a/drivers/ns8382x.c +++ b/drivers/ns8382x.c
@@ -321,7 +321,7 @@ if ((devno = pci_find_devices(supported, idx++)) < 0) break; - pci_read_config_dword(devno, PCI_BASE_ADDRESS_0, &iobase); + pci_read_config_dword(devno, PCI_BASE_ADDRESS_1, &iobase); iobase &= ~0x3; /* 1: unused and 0:I/O Space Indicator */ #ifdef NS8382X_DEBUG