Subject: Re: IBM Auto 16/4 Token Ring PC Card and 535E
To: None <clan@wheel.dk>
From: Wada Keiji <keiji@hiemalis.org>
List: port-i386
Date: 08/27/2001 01:57:48
----Next_Part(Mon_Aug_27_01:57:48_2001_951)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello
The Token Ring Card is available on ThinkPad 535E and 380D.
The pcic_mem is initialized in sys/dev/pci/i82365_pci.c
pcic_pci_attach. So this is not enough memory for Token Ring Card. I
tried this patch, and the Token Ring is available.
Thanks.
----Next_Part(Mon_Aug_27_01:57:48_2001_951)--
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_Aug_27_01:57:48_2001_951)----