[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix for new D-Link DFE-670TXD mac addr prefix - where next?
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Fix for new D-Link DFE-670TXD mac addr prefix - where next?
- From: Tom Sillence <openbsd_(_at_)_sillence_(_dot_)_co_(_dot_)_uk>
- Date: Sat, 19 Mar 2005 12:53:54 +0000
I hope I have found the right list!
OpenBSD -STABLE 3.6 wouldn't recognise my D-Link DFE-670TXD PCMCIA
network card, claiming: "can't match ethernet vendor code".
I had a poke around and discovered that this was because my card had
the right product id, vendor id and CIS strings, but an unrecognised mac
address prefix.
The tiny patch (against CURRENT) at the end of this message solves the
problem for me.
Since I am *completely* new to openbsd, can someone tell me how to go
about getting this patch applied to the GENERIC kernel? (Or at least
tell me how it should be changed to make it suitable, or why it never
has a hope of being accepted, etc....)
If anyone is interested, I also have a larger patch that outputs some
useful debug info about a card's details in the case that it is not
recognised. (I'm not sure which #ifdef to put it inside: NE_DEBUG,
PCMCIA_DEBUG, DIAGNOSTIC, or nothing?)
---Tom Sillence
# cvs diff -u if_ne_pcmcia.c
Index: if_ne_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_ne_pcmcia.c,v
retrieving revision 1.78
diff -u -r1.78 if_ne_pcmcia.c
--- if_ne_pcmcia.c 7 Feb 2005 20:11:43 -0000 1.78
+++ if_ne_pcmcia.c 19 Mar 2005 12:48:51 -0000
@@ -466,6 +466,10 @@
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x40, 0x05 } },
+ { PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
+ PCMCIA_CIS_DLINK_DFE670TXD,
+ 0, -1, { 0x00, 0x11, 0x95 } },
+
{ PCMCIA_VENDOR_NETGEAR, PCMCIA_PRODUCT_NETGEAR_FA411,
PCMCIA_CIS_NETGEAR_FA411,
0, -1, { 0x00, 0x40, 0xf4 } },
Visit your host, monkey.org