Re: we ethernet on prep
Izumi Tsutsui <[email protected]> Sat, 10 Jun 2006 21:12:58 +0900
| Newsgroups | gmane.os.netbsd.ports.prep |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > It gives me the same > lossage either way.. Maybe you're right.. isa mem space.. > I'll dig around that > code and see if anything obvious turns up. It looks ISA mem space conflicts against PCI memory space. The attached patch fixes the problem on my 7248-133. (I'm not sure why extent_alloc_region(9) in memio_map() doesn't fail though) --- Izumi Tsutsui Index: prep/mainbus.c =================================================================== RCS file: /cvsroot/src/sys/arch/prep/prep/mainbus.c,v retrieving revision 1.21 diff -u -r1.21 mainbus.c --- prep/mainbus.c 9 May 2006 01:18:11 -0000 1.21 +++ prep/mainbus.c 10 Jun 2006 12:08:02 -0000 @@ -126,7 +126,7 @@ #ifdef PCI_NETBSD_CONFIGURE ioext = extent_create("pciio", 0x00008000, 0x0000ffff, M_DEVBUF, NULL, 0, EX_NOWAIT); - memext = extent_create("pcimem", 0x00000000, 0x0fffffff, M_DEVBUF, + memext = extent_create("pcimem", 0x00100000, 0x0fffffff, M_DEVBUF, NULL, 0, EX_NOWAIT); pci_configure_bus(&pc, ioext, memext, NULL, 0, CACHELINESIZE);