From: James S. <jsi...@us...> - 2001-10-24 16:32:42
|
Update of /cvsroot/linux-mips/linux/arch/mips/cobalt In directory usw-pr-cvs1:/tmp/cvs-serv15236 Modified Files: pci_ops.c Log Message: Cobalt only uses PCI IO space, not MEM space. Index: pci_ops.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/cobalt/pci_ops.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pci_ops.c 2001/10/23 21:52:05 1.2 +++ pci_ops.c 2001/10/24 16:32:36 1.3 @@ -46,22 +46,14 @@ #define DBG(x...) #endif -#define MEM_BASE 0x12000000 -#define MEM_SIZE 0x02000000 -#define IO_BASE 0x10000000 -#define IO_SIZE 0x02000000 +#define IO_BASE 0x00000000 +#define IO_SIZE 0x1CFFFFFF static struct resource pci_io_resource = { "pci IO space", IO_BASE, IO_BASE + IO_SIZE, - IORESOURCE_IO}; - -static struct resource pci_mem_resource = { - "pci memory space", - MEM_BASE, - MEM_BASE + MEM_SIZE, - IORESOURCE_MEM + IORESOURCE_IO }; extern struct pci_ops qube_pci_ops; @@ -76,7 +68,7 @@ * to limit the scan. */ struct pci_channel mips_pci_channels[] = { - { &qube_pci_ops, &pci_io_resource, &pci_mem_resource, 0, 0xff }, + { &qube_pci_ops, &pci_io_resource, NULL, 0, 0xFF }, { NULL, NULL, NULL, NULL, NULL} }; |