Add a device. From OpenBSD.

This commit is contained in:
augustss 2004-10-22 09:41:01 +00:00
parent d7eeed3a45
commit cb0eb4bacc
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_aue.c,v 1.86 2004/04/23 17:25:25 itojun Exp $ */ /* $NetBSD: if_aue.c,v 1.87 2004/10/22 09:44:42 augustss Exp $ */
/* /*
* Copyright (c) 1997, 1998, 1999, 2000 * Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul@ee.columbia.edu>. All rights reserved. * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
@ -77,7 +77,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.86 2004/04/23 17:25:25 itojun Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.87 2004/10/22 09:44:42 augustss Exp $");
#if defined(__NetBSD__) #if defined(__NetBSD__)
#include "opt_inet.h" #include "opt_inet.h"
@ -185,6 +185,7 @@ Static const struct aue_type aue_devs[] = {
{{ USB_VENDOR_ACCTON, USB_PRODUCT_ACCTON_SS1001}, PII }, {{ USB_VENDOR_ACCTON, USB_PRODUCT_ACCTON_SS1001}, PII },
{{ USB_VENDOR_ADMTEK, USB_PRODUCT_ADMTEK_PEGASUS}, PNA }, {{ USB_VENDOR_ADMTEK, USB_PRODUCT_ADMTEK_PEGASUS}, PNA },
{{ USB_VENDOR_ADMTEK, USB_PRODUCT_ADMTEK_PEGASUSII}, PII }, {{ USB_VENDOR_ADMTEK, USB_PRODUCT_ADMTEK_PEGASUSII}, PII },
{{ USB_VENDOR_ADMTEK, USB_PRODUCT_ADMTEK_PEGASUSII_2}, PII },
{{ USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_USB2LAN}, PII }, {{ USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_USB2LAN}, PII },
{{ USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USB100}, 0 }, {{ USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USB100}, 0 },
{{ USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USBLP100}, PNA }, {{ USB_VENDOR_BILLIONTON, USB_PRODUCT_BILLIONTON_USBLP100}, PNA },

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_kue.c,v 1.51 2004/04/23 17:25:25 itojun Exp $ */ /* $NetBSD: if_kue.c,v 1.52 2004/10/22 09:41:01 augustss Exp $ */
/* /*
* Copyright (c) 1997, 1998, 1999, 2000 * Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul@ee.columbia.edu>. All rights reserved. * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
@ -70,7 +70,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.51 2004/04/23 17:25:25 itojun Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_kue.c,v 1.52 2004/10/22 09:41:01 augustss Exp $");
#if defined(__NetBSD__) #if defined(__NetBSD__)
#include "opt_inet.h" #include "opt_inet.h"
@ -179,6 +179,7 @@ Static const struct usb_devno kue_devs[] = {
{ USB_VENDOR_PORTGEAR, USB_PRODUCT_PORTGEAR_EA9 }, { USB_VENDOR_PORTGEAR, USB_PRODUCT_PORTGEAR_EA9 },
{ USB_VENDOR_PORTSMITH, USB_PRODUCT_PORTSMITH_EEA }, { USB_VENDOR_PORTSMITH, USB_PRODUCT_PORTSMITH_EEA },
{ USB_VENDOR_SHARK, USB_PRODUCT_SHARK_PA }, { USB_VENDOR_SHARK, USB_PRODUCT_SHARK_PA },
{ USB_VENDOR_SILICOM, USB_PRODUCT_SILICOM_U2E },
{ USB_VENDOR_SMC, USB_PRODUCT_SMC_2102USB }, { USB_VENDOR_SMC, USB_PRODUCT_SMC_2102USB },
}; };
#define kue_lookup(v, p) (usb_lookup(kue_devs, v, p)) #define kue_lookup(v, p) (usb_lookup(kue_devs, v, p))