Subject: Re: IBM Token Ring woes
To: None <jeff@mincspc1.murdoch.edu.au>
From: Wada Keiji <keiji@hiemalis.org>
List: port-i386
Date: 12/17/2001 23:25:35
----Next_Part(Mon_Dec_17_23:25:35_2001_006)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
>>>>> On Mon, 17 Dec 2001 21:46:35 +0800 (WST)
>>>>> jeff@mincspc1.murdoch.edu.au(Jeff Murphy) said:
jeff> I'm trying to get an IBM token ring card (Turbo 16/4 ISA)
jeff> running under 1.5, with no luck:
jeff> tr0 at isa0 port 0x300-0x303 iomem 0xd4000-0xd5fff irq 10
jeff> tr_isa_attach: shared ram space vanished
jeff> This is an EISA box, with the legacy settings reserved; the
jeff> LANAID diagnostics pick out the card correctly. The GENERIC
jeff> kernel drops into ddb just after probing it (that's from a
jeff> custom config above).
I can use an IBM token ring PCMCIA card under 1.5Z on IBM 535E.
But I've modified sys/dev/pci/i82365_pci.c.
This patch is for the shared memsize problem and is helpful to you in fixing.
----Next_Part(Mon_Dec_17_23:25:35_2001_006)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: i82365_pci.c.memsize-patch
Content-Disposition: inline; filename="i82365_pci.c.memsize-patch"
--- i82365_pci.c.orig Thu Feb 24 12:42:44 2000
+++ i82365_pci.c Mon Aug 27 01:23:26 2001
@@ -138,11 +138,11 @@
*/
/* Map mem space. */
- if (bus_space_map(memt, 0xd0000, 0x4000, 0, &memh))
+ if (bus_space_map(memt, 0xd0000, 0x8000, 0, &memh))
panic("pcic_pci_attach: can't map mem space");
sc->membase = 0xd0000;
- sc->subregionmask = (1 << (0x4000 / PCIC_MEM_PAGESIZE)) - 1;
+ sc->subregionmask = (1 << (0x8000 / PCIC_MEM_PAGESIZE)) - 1;
/* same deal for io allocation */
----Next_Part(Mon_Dec_17_23:25:35_2001_006)----