Subject: Re: 3com pcmcia anp apm problems
To: Kevin Sullivan <>
From: Jason Thorpe <>
List: current-users
Date: 10/16/1997 12:51:21
[ Not really appropriate for current-users since the code won't be in
  -current for another day or two, but I'll reply here anyhow so people
  know... ]

On Thu, 16 Oct 1997 09:44:01 -0400 
 Kevin Sullivan <> wrote:

 > * I have a 3com Etherlink III LAN card which works fine, and a 3com

That would be a 3c589...

 > Etherlink III LAN+Modem card (brand new) where the modem works fine but
 > the ethernet doesn't.  Win95 runs the LAN+Modem card fine, but when

...that would be a 3c562.

 > NetBSD boots it corrupts the MAC address.  The latest kernels hang when

I suspect your laptop has the same behavior mine does when certain i/o
ranges are used...

 > pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 5
 > pcic0: controller 0 (Cirrus PD672X) has sockets A and B
 > pcmcia0 at pcic0 controller 0 socket 0
 > ep0 at pcmcia0 function 0 port 0x400-0x40f: 3Com 3C589 Ethernet

...note the i/o address range...

 > ep0: MAC address 00:60:97:8f:df:ef
 > ep0: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp/aui/bnc (default utp)
 > pcmcia0: card irq 9
 > pcmcia1 at pcic0 controller 0 socket 1
 > ep1 at pcmcia1 function 0 port 0x300-0x30f: 3Com 3C562 Ethernet

...and again.  My NEC Versa 6030X loses when cards are mapped into
this range.

 > Let me know if you need any more info.  My laptop is an IBM Thinkpad 701cs=
 > .

Please update your sys/dev/isa and sys/dev/pcmcia.  I have just checked
in some changes that fix a bug in if_ep_pcmcia.c that would cause it to
use an inappropriate i/o address range for the 3c562's Very Special i/o
allocation needs.

Please let me know if it works for you.

Jason R. Thorpe                             
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 415 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939