Support for Belkin F5U109. From PR kern/21534.
This commit is contained in:
parent
a363cdabc4
commit
581056322e
@ -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 @@ static const struct usb_devno umct_devs[] = {
|
||||
{ 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 @@ umct_set_baudrate(struct umct_softc *sc, u_int rate)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user