Subject: Re: pcmcia ne problem - 0-ed MAC
To: Wojciech Puchar <wojtek@wojtek.3miasto.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 07/21/2001 17:18:36
On Fri, Jul 20, 2001 at 12:13:49PM +0200, Wojciech Puchar wrote:
> i tried to use PCMCIA ethernet card on my notebook.
> 
> what i get:
> 
> 
> NetBSD 1.5.1 (notebook) #0: Fri Jul 20 09:13:46 CEST 2001
>     root@wojtek.3miasto.net:/usr/src/sys/arch/i386/compile/notebook
> cpu0: Intel 486DX4 (486-class)
> total memory = 8000 KB
> avail memory = 6104 KB
> using 64 buffers containing 256 KB of memory
> mainbus0 (root)
> isa0 at mainbus0
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> wdc0 at isa0 port 0x1f0-0x1f7 irq 14
> wd0 at wdc0 channel 0 drive 0: <DVAA-2810>
> wd0: drive supports 16-sector pio transfers, lba addressing
> wd0: 773 MB, 1571 cyl, 16 head, 63 sec, 512 bytes/sect x 1583568 sectors
> wd0: drive supports PIO mode 3, DMA mode 1
> vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
> wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
> lpt0 at isa0 port 0x378-0x37b irq 7
> wss0 at isa0 port 0x530-0x537 irq 10 drq 0: AD1848K
> audio0 at wss0: half duplex, mmap
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0-0xff: using exception 16
> fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
> 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
> biomask fb6d netmask fb6d ttymask fbef
> pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..9..11..15
> pcic0: using irq 3 for socket events
> ne0 at pcmcia1 function 0 port 0x300-0x30f port 0x310-0x31f
> ne0: RPTI EP400 Ethernet
> ne0: Ethernet address 00:00:00:00:00:00
>                       ^^^^^^^^^^^^^^^^^
> boot device: wd0
> root on wd0a dumps on wd0b
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
> wsdisplay0: screen 5 added (80x25, vt100 emulation)
> wsdisplay0: screen 6 added (80x25, vt100 emulation)
> wsdisplay0: screen 7 added (80x25, vt100 emulation)
> pcmcia1: card irq 5
> 
> 
> and this card WORKS but with that address.
> 
> how to set MAC?

No real way to set the MAC, other than hacking the driver.
Maybe your ethernet adapter is a bit broken (erased PROM) ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--