Subject: kern/11285: "ne" pcmcia driver reads MAC address incorrectly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chuq@chuq.com>
List: netbsd-bugs
Date: 10/21/2000 17:27:11
>Number:         11285
>Category:       kern
>Synopsis:       "ne" pcmcia driver reads MAC address incorrectly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 21 17:27:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Chuck Silvers
>Release:        -current as of today (2000/10/21)
>Organization:
myself
>Environment:
	NetBSD spiffy.chuq.com 1.5H NetBSD 1.5H (GENERIC) #0: Sat Oct 21 16:58:35 PDT 2000     chs@spathi.chuq.com:/home/chs/netbsd/src/sys/arch/i386/compile/GENERIC i386

>Description:

the MAC address of this pcmcia ethernet card is determined incorrectly:

pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
pcic0: controller 0 (Intel 82365SL Revision 1) has socket A only
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcic0: controller 0 detecting irqs with mask 0xdeb8:..10
pcic0: can't share irq with cards; polling for socket events
...
ne2 at pcmcia0 function 0 port 0x400-0x40f port 0x410-0x41f
ne2: LAN iobase 0xaaaa (0x400) -> 0xaaaa
ne2: Planex FNW-3700-T (AX88190) Ethernet
ne2: Ethernet address 00:ff:e0:ff:98:ff


the card is a "Linksys Ethernet 10BaseT PC Card Model NP10T"
the PCMCIA adaptor is the ISA->PCMCIA doodad that came with
a WebGear Aviator card.

on another machine, an IBM ThinkPad, the MAC address is also
determined incorrectly, but in a different way:

pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..7..9..10..11..15
pcic0: using irq 3 for socket events
...
ne2 at pcmcia0 function 0 port 0x400-0x40f port 0x410-0x41f
ne2: LAN iobase 0xaaaa (0x400) -> 0xaaaa
ne2: Planex FNW-3700-T (AX88190) Ethernet
ne2: Ethernet address 00:00:e0:00:98:00
ne3 at pcmcia1 function 0 port 0x420-0x42f port 0x430-0x43f
ne3: LAN iobase 0xaaaa (0x420) -> 0xaaaa
ne3: Planex FNW-3700-T (AX88190) Ethernet
ne3: Ethernet address 00:00:e0:00:98:00

(this machine has two identical cards installed, it's a router.)


the cards are otherwise functional, just the MAC address is wrong.


>How-To-Repeat:
	pop in the card, see that the MAC address is wrong.
>Fix:
	dunno.
>Release-Note:
>Audit-Trail:
>Unformatted: