summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2010-11-04 19:05:35 +0000
committerhselasky <hselasky@FreeBSD.org>2010-11-04 19:05:35 +0000
commitdeeb89a1287a166acecf7ba25aabe6a6549e5abd (patch)
tree963316b140e2fd6a3efc321162459c6aebfc897d /sys
parent7edbc46989f9ba57f8a8dd4d0a0f662abacdb9cc (diff)
downloadFreeBSD-src-deeb89a1287a166acecf7ba25aabe6a6549e5abd.zip
FreeBSD-src-deeb89a1287a166acecf7ba25aabe6a6549e5abd.tar.gz
Add new USB quirk.
Submitted by: Dmitry Luhtionov Approved by: thompsa (mentor)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/quirk/usb_quirk.c1
-rw-r--r--sys/dev/usb/usbdevs2
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c
index e375adc..c619a24 100644
--- a/sys/dev/usb/quirk/usb_quirk.c
+++ b/sys/dev/usb/quirk/usb_quirk.c
@@ -120,6 +120,7 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = {
USB_QUIRK(MGE, UPS2, 0x0000, 0xffff, UQ_HID_IGNORE),
USB_QUIRK(APPLE, IPHONE, 0x0000, 0xffff, UQ_HID_IGNORE),
USB_QUIRK(APPLE, IPHONE_3G, 0x0000, 0xffff, UQ_HID_IGNORE),
+ USB_QUIRK(MEGATEC, UPS, 0x0000, 0xffff, UQ_HID_IGNORE),
/* Devices which should be ignored by both ukbd and uhid */
USB_QUIRK(CYPRESS, WISPY1A, 0x0000, 0xffff, UQ_KBD_IGNORE, UQ_HID_IGNORE),
USB_QUIRK(METAGEEK, WISPY1B, 0x0000, 0xffff, UQ_KBD_IGNORE, UQ_HID_IGNORE),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 3601757..4f9af11 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -2518,7 +2518,7 @@ product PHILIPS RT2870 0x200f RT2870
product PHILIPSSEMI HUB1122 0x1122 HUB
/* Megatec */
-product MEGATEC UPS 0x5161 Protocol based UPS
+product MEGATEC UPS 0x5161 Phoenixtec protocol based UPS
/* P.I. Engineering products */
product PIENGINEERING PS2USB 0x020b PS2 to Mac USB Adapter
OpenPOWER on IntegriCloud