Subject: 3COM 3C574 PCMCIA ethernet card
To: None <current-users@NetBSD.ORG>
From: Laine Stump <laine@MorningStar.Com>
List: current-users
Date: 03/13/1998 11:52:46
(Again, I'm running stock 1.3, but figure this is of interest to people
doing -current as well).

I just got a 3COM 3C574-TX (10/100 PCMCIA ethernet, no this isn't the
CardBus model - that's a 3C575) and plugged it into my laptop (Toshiba
410CDT). When I booted, it showed:

  pcmcia0: CIS info: 3Com, 3C574-TX Fast EtherLink PC Card, A, 001
  pcmcia0: Manufacturer code 0x101, product 0x574
  pcmcia0: function 0: network adapter, ccr addr 10000 mask 3
  pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f; rdybsy_active wp_active bvd_active io8 io16 irqlevel
  3Com, 3C574-TX Fast EtherLink PC Card, A, 001 (manufacturer 0x101, product 0x574) function 0 not configured

So I added an entry for product 0x574 into if_ep_pcmcia.c, rebuilt the
kernel, and rebooted. This time I got:

  pcmcia0: CIS info: 3Com, 3C574-TX Fast EtherLink PC Card, A, 001
  pcmcia0: Manufacturer code 0x101, product 0x574
  pcmcia0: function 0: network adapter, ccr addr 10000 mask 3
  pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f; rdybsy_active wp_active bvd_active io8 io16 irqlevel
  ep1 at pcmcia0 function 0 port 0x340-0x35f: 3Com 3C574 Ethernet
  ep1: MAC address 02:01:02:01:02:01
  ep1: 64KB word-wide FIFO, 1:1 Rx:Tx split, (default utp)
  ifmedia_set: no match for 0x23/0xffffffff
  panic: ifmedia_set

I took a quick look at the media stuff, and it wasn't immediately
understandable, so I decided to send this message. One thing that I
notice different between this and the 3C589 is that the 3C589 dmesg
says:

  ep1: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp/aui/bnc (default utp)

ie it prints out what interfaces are available.

Also, notice that the MAC address is obviously bogus.

Can anybody help me out on getting this card going?