Davicom dm9601 usb nic



Hi,

I bought an USB NIC (Davicom DM9601) some days ago and it wasn't working on -current .
Searching in the source code I saw the vendor and product code of this device, but it was disabled, probably because no one tested it before.
I am attaching a patch made in -current to be applied in /usr/src which solves this "issue".
Let me know if mailman ate it :)

Thanks,

--
William Grzybowski /"\
Jabber: william88@xxxxxxxxx \ / ASCII Ribbon Campaign
Curitiba/PR - Brazil (GMT -3:00) X against HTML email & vCards
......... / \
--- sys/dev/usb/if_udav.c.orig 2008-04-25 18:44:25.000000000 -0300
+++ sys/dev/usb/if_udav.c 2008-04-25 18:52:50.000000000 -0300
@@ -260,11 +260,8 @@
{{ USB_VENDOR_COREGA, USB_PRODUCT_COREGA_FETHER_USB_TXC }, 0},
/* ShanTou ST268 USB NIC */
{{ USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ST268 }, 0},
-#if 0
- /* DAVICOM DM9601 Generic? */
- /* XXX: The following ids was obtained from the data sheet. */
- {{ 0x0a46, 0x9601 }, 0},
-#endif
+ /* DAVICOM DM9601 Generic */
+ {{ USB_VENDOR_DAVICOM, USB_PRODUCT_DAVICOM_DM9601 }, 0},
};
#define udav_lookup(v, p) ((const struct udav_type *)usb_lookup(udav_devs, v, p))

--- sys/dev/usb/usbdevs.orig 2008-04-25 18:52:43.000000000 -0300
+++ sys/dev/usb/usbdevs 2008-04-25 18:52:46.000000000 -0300
@@ -1079,6 +1079,9 @@
product CYPRESS USBRS232 0x5500 USB-RS232 Interface
product CYPRESS SLIM_HUB 0x6560 Slim Hub

+/* Davicom Semiconductor products */
+product DAVICOM DM9601 0x9601 DM9601 USB NIC
+
/* Daisy Technology products */
product DAISY DMC 0x6901 USB MultiMedia Reader

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • free ebook: Design Patterns for Searching in C#
    ... Design Patterns for Searching in C# ... Divide and Conquer: Parenthesizing a List; Branch and Bound: Knapsack ... Search: Traveling Salesman ... Source code may be freely used, copied, and modified. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Davicom dm9601 usb nic
    ... Searching in the source code I saw the vendor and product code of this device, but it was disabled, probably because no one tested it before. ...
    (freebsd-current)
  • Re: Granite
    ... at its unidentified self lying on the floor, ... Is picking it up, but not identifying it, enough? ... (The answer could, of course, be obtained from the source code - but ... begin looking, aside perhaps from searching on "preserve", and it's not ...
    (rec.games.roguelike.angband)
  • Changing the quantum for user processes.
    ... I am trying to find out how to change the quantum in minix3 for user ... I have been searching around the source code and a few variables have ...
    (comp.os.minix)
  • Re: Strange occurrence with the source code
    ... I'm using nasmw to compile the source code, and then linking with ... using a Microsoft Incremental Linker. ... Your program keeps searching until it reaches a memory location that it ...
    (alt.lang.asm)