Date: Fri, 26 Oct 2001 02:40:55 +0200 (CEST) From: Are Bryne <are.bryne@communique.no> To: freebsd-stable@freebsd.org Subject: rl driver: need help in adding new chipset Message-ID: <Pine.BSF.4.05.10110260239060.21516-300000@rune.communique.no>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-670911576-1004021983=:90068 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <Pine.BSF.4.31.0110260233571.90068@david.i.communique.no> 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: admin@communique.no N-0133 Oslo URL: http://www.communique.no --0-670911576-1004021983=:90068 Content-Type: TEXT/PLAIN; charset=us-ascii; name="if_rlreg.h.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.4.31.0110251659430.90068@david.i.communique.no> Content-Description: Content-Disposition: attachment; filename="if_rlreg.h.patch" LS0tIC91c3Ivc3JjL3N5cy9wY2kvaWZfcmxyZWcuaC5vcmlnCUZyaSBTZXAg MjEgMjM6MTA6MDcgMjAwMQ0KKysrIC91c3Ivc3JjL3N5cy9wY2kvaWZfcmxy ZWcuaAlUaHUgT2N0IDI1IDAwOjIxOjE2IDIwMDENCkBAIC00MTMsNiArNDEz LDExIEBADQogI2RlZmluZSBBQ0NUT05fREVWSUNFSURfNTAzMAkJCTB4MTIx MQ0KIA0KIC8qDQorICogQWNjdG9uIE1QWCA1MDMwQyBkZXZpY2UgSUQuDQor ICovDQorI2RlZmluZSBBQ0NUT05fREVWSUNFSURfNTAzMEMJCQkweDEwMTEN CisNCisvKg0KICAqIERlbHRhIEVsZWN0cm9uaWNzIFZlbmRvciBJRC4NCiAg Ki8NCiAjZGVmaW5lIERFTFRBX1ZFTkRPUklECQkJCTB4MTUwMA0K --0-670911576-1004021983=:90068 Content-Type: TEXT/PLAIN; charset=us-ascii; name="if_rl.c.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.4.31.0110251659431.90068@david.i.communique.no> Content-Description: Content-Disposition: attachment; filename="if_rl.c.patch" LS0tIC91c3Ivc3JjL3N5cy9wY2kvaWZfcmwuYy5vcmlnCUZyaSBTZXAgMjEg MjM6MTA6MDcgMj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TKQ0KIAkJc2MtPnJsX3R5cGUgPSBSTF84MTM5Ow0KIAllbHNl IGlmIChybF9kaWQgPT0gUlRfREVWSUNFSURfODEyOSkNCg== --0-670911576-1004021983=:90068-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10110260239060.21516-300000>