Davicom dm9601 usb nic
- From: William Grzybowski <william88@xxxxxxxxx>
- Date: Fri, 25 Apr 2008 19:25:43 -0300
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"
- Follow-Ups:
- Re: Davicom dm9601 usb nic
- From: William Grzybowski
- Re: Davicom dm9601 usb nic
- Prev by Date: [head tinderbox] failure on sparc64/sun4v
- Next by Date: Re: Davicom dm9601 usb nic
- Previous by thread: boot failed with gzip'ed modules
- Next by thread: Re: Davicom dm9601 usb nic
- Index(es):
Relevant Pages
|