Date: Tue, 7 Jan 2003 19:34:08 GMT From: Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/46859: The DM9009 card in my PC is not supported by FreeBSD, but it is simple to modify the driver to support it, and I do not see the harm in it. Message-ID: <200301071934.h07JY8Ms001257@ool-182f8b09.dyn.optonline.net>
next in thread | raw e-mail | index | archive | help
>Number: 46859 >Category: kern >Synopsis: The DM9009 card in my PC is not supported by FreeBSD, but it is simple to modify the driver to support it, and I do not see the harm in it. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 08 03:10:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Boaz Haberman >Release: FreeBSD 4.7-RELEASE i386 >Organization: >Environment: System: FreeBSD FreeBSD.optonline.net 4.7-RELEASE FreeBSD 4.7-RELEASE #2: Thu Jan 2 23:44:21 GMT 2003 root@FreeBSD.optonline.net:/usr/src/sys/compile/GENERIC i386 <AMD Athlon XP 1600+, FreeBSD 4.7-RELEASE, FreeBSD 4.0+> >Description: The DM9009 chip from Davicom does not work on FreeBSD. I found this out after I bought a card for $5. It is one of the worst Ethernet chips out there, but it works and I wanted to use it. A few line changes and voila - a new driver. >How-To-Repeat: Using a Archtek Smartlink (or any other NIC that utilizes the Davicom DM9009 chipset), try setting your network up and using it . . . >Fix: /usr/src/sys/pci/if_dc.c --- if_dc.c Fri Jan 3 05:36:53 2003 +++ if_dc.c Fri Jan 3 05:40:36 2003 @@ -143,6 +143,8 @@ static struct dc_type dc_devs[] = { { DC_VENDORID_DEC, DC_DEVICEID_21143, "Intel 21143 10/100BaseTX" }, + { DC_VENDORID_DAVICOM, DC_DEVICEID_DM9009, + "Davicom DM9009 10/100BaseTX" }, { DC_VENDORID_DAVICOM, DC_DEVICEID_DM9100, "Davicom DM9100 10/100BaseTX" }, { DC_VENDORID_DAVICOM, DC_DEVICEID_DM9102, @@ -1759,6 +1761,7 @@ /* Save EEPROM contents so we can parse them later. */ dc_read_eeprom(sc, (caddr_t)&sc->dc_srom, 0, 512, 0); break; + case DC_DEVICEID_DM9009: case DC_DEVICEID_DM9100: case DC_DEVICEID_DM9102: sc->dc_type = DC_TYPE_DM9102; /usr/src/sys/pci/if_dcreg.c --- if_dcreg.h Fri Jan 3 05:36:57 2003 +++ if_dcreg.h Fri Jan 3 05:39:15 2003 @@ -814,6 +814,7 @@ /* * Davicom device IDs. */ +#define DC_DEVICEID_DM9009 0x9009 #define DC_DEVICEID_DM9100 0x9100 #define DC_DEVICEID_DM9102 0x9102 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301071934.h07JY8Ms001257>