Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rl driver: need help in adding new chipset

0 views
Skip to first unread message

Are Bryne

unread,
Oct 25, 2001, 11:21:11 PM10/25/01
to freebsd...@freebsd.org
Hello,

I'm trying to get an SMC 1211TX/WL with a EN5030C chip (labeled SMC, but
actually Accton?) (07294T1 030B) to work.

With a kernel having compiled in the rl device driver (as well as the
miibus) I get this boot message:

pci0: <unknown card> (vendor=0x1113, dev=0x1011) at 18.0 irq 11

So I thought I could just add the above details to the relevant if_rl.c
and if_rlreg.h files, as the EN5030C shouldn't be too different from the
EN5030 (for which there is support). The patches I came up with are
attached.

However, when the computer boots with the new kernel, even though it
recognizes the chip, it tells me:

rl0: <Accton MPX 5030C 10/100BaseTX> port 0x6000-0x60ff mem 0xe0000000-0xe00000ff irq 11 at device 18.0 on pci0
rl0: Ethernet address: 04:20:00:00:15:10
rl0: unknown device ID: 0
device_probe_and_attach: rl0 attach returned 6

or on another boot:

rl0: <Accton MPX 5030C 10/100BaseTX> port 0x6000-0x60ff mem 0xe0000000-0xe00000ff irq 11 at device 18.0 on pci0
rl0: Ethernet address: 00:02:01:41:00:43
rl0: unknown device ID: 1000
device_probe_and_attach: rl0 attach returned 6

Notice that both the 'unknown device ID' and the ethernet address
changes... I tried booting verbosely, but then for some reason I got a
fatal trap 12: page fault while in kernel mode (supervisor read, page not
present), and I was not able to get the relevant parts wrt. rl0.

# pciconf -l
chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x70308086 rev=0x01 hdr=0x00
isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01 hdr=0x00
atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x70108086 rev=0x00 hdr=0x00
none0@pci0:18:0: class=0x000000 card=0x10111113 chip=0x10111113 rev=0x10 hdr=0x00

This is on a 4.4-STABLE system, cvsup'ed on Sep. 29.

Could anyone help out?

Thanks in advance.

Regards,
Are Bryne
--
Communiqué DA Phone: +47 22 44 33 99
Postboks 9050 Grønland E-mail: ad...@communique.no
N-0133 Oslo URL: http://www.communique.no

if_rlreg.h.patch
if_rl.c.patch
0 new messages