Date: Tue, 6 Nov 2001 10:50:18 +0100 (CET) From: Adriaan de Groot <adridg@cs.kun.nl> To: freebsd-questions@freebsd.org Subject: Myson NIC / fet driver for 4.4? Message-ID: <Pine.LNX.4.10.10111061029360.1467-100000@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
Hi all, I went to the store and asked for a rtl 8139 based NIC (I've since read the comments in if_rl.c and am worried about my sanity). I got something worse, which is the Myson TD-803. It's not recognized by the GENERIC kernel, nor after some fiddling about with stuff from LINT. The PCI ID of this thing is 1516:0803, and grepping for 1516 on the entire source tree of 4.4-release turns up nothing relevant. I'd conclude with "this card is unsupported", except that the driver diskette contains -- whoa -- drivers for all the Win flavors, and *source* for linux and freebsd drivers. The linux driver is the same as the one (by Donald Becker) that has shown up in recent kernels there AFAICT. The FreeBSD driver has no copyright statement attached at all. So I've got sources, except they're labelled as "For FreeBSD 2.2 / 3.0", and a casual attempt at building them in 4.4 failed with includes not being found and many macros not defined. I've put the source files up at http://www.cs.kun.nl/~adridg/freebsd/ and I've got two questions: -1) does somebody recognize that code? 0) is this driver already lurking somewhere in the source tree? 1) is there a porting-device-drivers-from-3.0-to-4.4 guide somewhere, so I can port and test this driver myself? 2) does somebody else feel like porting it? A random sample of 1 store here in town shows that *all* their el-cheapo NICs are based on this chipset, so it might be really relevant to get this working for the low-end crowd. [ade] -- +------------------------------+--------------------------------------------+ + Adriaan de Groot + Project: www.cs.kun.nl/~adridg/frescos/ + + adridg@cs.kun.nl + + + Kamer A6020 tel. 024 3652272 + "Was dat nou Arabisch of Deens?" -- FD + To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10111061029360.1467-100000>