Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Support for Belkin F5U109. From PR kern/21534.



details:   https://anonhg.NetBSD.org/src/rev/138d477fbfb8
branches:  trunk
changeset: 547019:138d477fbfb8
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun May 11 16:26:49 2003 +0000

description:
Support for Belkin F5U109.  From PR kern/21534.

diffstat:

 sys/dev/usb/umct.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r c42ca6257240 -r 138d477fbfb8 sys/dev/usb/umct.c
--- a/sys/dev/usb/umct.c        Sun May 11 16:21:18 2003 +0000
+++ b/sys/dev/usb/umct.c        Sun May 11 16:26:49 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umct.c,v 1.10 2003/02/23 04:20:07 simonb Exp $ */
+/*     $NetBSD: umct.c,v 1.11 2003/05/11 16:26:49 augustss Exp $       */
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umct.c,v 1.10 2003/02/23 04:20:07 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umct.c,v 1.11 2003/05/11 16:26:49 augustss Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -151,6 +151,8 @@
        { USB_VENDOR_MCT, USB_PRODUCT_MCT_SITECOM_USB232 },
        /* D-Link DU-H3SP USB BAY Hub Products */
        { USB_VENDOR_MCT, USB_PRODUCT_MCT_DU_H3SP_USB232 },
+       /* BELKIN F5U109 */
+       { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5U109 },
 };
 #define umct_lookup(v, p) usb_lookup(umct_devs, v, p)
 
@@ -446,7 +448,8 @@
        uDWord arate;
        u_int val;
 
-       if (sc->sc_product == USB_PRODUCT_MCT_SITECOM_USB232) {
+       if (sc->sc_product == USB_PRODUCT_MCT_SITECOM_USB232 ||
+           sc->sc_product == USB_PRODUCT_BELKIN_F5U109) {
                switch (rate) {
                case    300: val = 0x01; break;
                case    600: val = 0x02; break;



Home | Main Index | Thread Index | Old Index