From 4654af27b894277c9e3dac5359f6b3e74d1405ac Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 22 Oct 2003 09:00:28 +0000 Subject: Fix PCI problems on PPChameleon board --- drivers/ns8382x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/ns8382x.c') 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 @@ ns8382x_initialize(bd_t * bis) 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 -- cgit v1.1