Module Name: src Committed By: kardel Date: Sun Jun 27 10:32:13 UTC 2010
Modified Files: src/sys/dev/usb: usbdevs usbdevs.h usbdevs_data.h Log Message: add MTK chipset based GPS receiver (e. g. Qstarz BT-Q1000eX) To generate a diff of this commit: cvs rdiff -u -r1.559 -r1.560 src/sys/dev/usb/usbdevs cvs rdiff -u -r1.552 -r1.553 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.553 -r1.554 src/sys/dev/usb/usbdevs_data.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/usbdevs diff -u src/sys/dev/usb/usbdevs:1.559 src/sys/dev/usb/usbdevs:1.560 --- src/sys/dev/usb/usbdevs:1.559 Sat Jun 19 22:41:32 2010 +++ src/sys/dev/usb/usbdevs Sun Jun 27 10:32:13 2010 @@ -1,4 +1,4 @@ -$NetBSD: usbdevs,v 1.559 2010/06/19 22:41:32 kardel Exp $ +$NetBSD: usbdevs,v 1.560 2010/06/27 10:32:13 kardel Exp $ /* * Copyright (c) 1998-2004 The NetBSD Foundation, Inc. @@ -417,6 +417,7 @@ vendor SITECOMEU 0x0df6 Sitecom Europe vendor HAWKING 0x0e66 Hawking vendor GMATE 0x0e7e G.Mate, Inc +vendor MTK 0x0e8d MTK vendor OTI 0x0ea0 Ours Technology vendor PILOTECH 0x0eaf Pilotech vendor NOVATECH 0x0eb0 Nova Tech @@ -1177,6 +1178,9 @@ /* G.Mate, Inc products */ product GMATE YP3X00 0x1001 YP3X00 PDA +/* MTK products */ +product MTK GPS_RECEIVER 0x3329 GPS receiver + /* Garmin products */ product GARMIN FORERUNNER305 0x0003 Forerunner 305 Index: src/sys/dev/usb/usbdevs.h diff -u src/sys/dev/usb/usbdevs.h:1.552 src/sys/dev/usb/usbdevs.h:1.553 --- src/sys/dev/usb/usbdevs.h:1.552 Sat Jun 19 22:41:33 2010 +++ src/sys/dev/usb/usbdevs.h Sun Jun 27 10:32:13 2010 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs.h,v 1.552 2010/06/19 22:41:33 kardel Exp $ */ +/* $NetBSD: usbdevs.h,v 1.553 2010/06/27 10:32:13 kardel Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.558 2010/06/17 23:22:21 riz Exp + * NetBSD: usbdevs,v 1.559 2010/06/19 22:41:32 kardel Exp */ /* @@ -424,6 +424,7 @@ #define USB_VENDOR_SITECOMEU 0x0df6 /* Sitecom Europe */ #define USB_VENDOR_HAWKING 0x0e66 /* Hawking */ #define USB_VENDOR_GMATE 0x0e7e /* G.Mate, Inc */ +#define USB_VENDOR_MTK 0x0e8d /* MTK */ #define USB_VENDOR_OTI 0x0ea0 /* Ours Technology */ #define USB_VENDOR_PILOTECH 0x0eaf /* Pilotech */ #define USB_VENDOR_NOVATECH 0x0eb0 /* Nova Tech */ @@ -1184,6 +1185,9 @@ /* G.Mate, Inc products */ #define USB_PRODUCT_GMATE_YP3X00 0x1001 /* YP3X00 PDA */ +/* MTK products */ +#define USB_PRODUCT_MTK_GPS_RECEIVER 0x3329 /* GPS receiver */ + /* Garmin products */ #define USB_PRODUCT_GARMIN_FORERUNNER305 0x0003 /* Forerunner 305 */ Index: src/sys/dev/usb/usbdevs_data.h diff -u src/sys/dev/usb/usbdevs_data.h:1.553 src/sys/dev/usb/usbdevs_data.h:1.554 --- src/sys/dev/usb/usbdevs_data.h:1.553 Sat Jun 19 22:41:33 2010 +++ src/sys/dev/usb/usbdevs_data.h Sun Jun 27 10:32:13 2010 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs_data.h,v 1.553 2010/06/19 22:41:33 kardel Exp $ */ +/* $NetBSD: usbdevs_data.h,v 1.554 2010/06/27 10:32:13 kardel Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.558 2010/06/17 23:22:21 riz Exp + * NetBSD: usbdevs,v 1.559 2010/06/19 22:41:32 kardel Exp */ /* @@ -1475,6 +1475,10 @@ "G.Mate, Inc", }, { + USB_VENDOR_MTK, + "MTK", + }, + { USB_VENDOR_OTI, "Ours Technology", }, @@ -1923,7 +1927,7 @@ "GNU Radio USRP", }, }; -const int usb_nvendors = 471; +const int usb_nvendors = 472; const struct usb_product usb_products[] = { { @@ -3587,6 +3591,10 @@ "YP3X00 PDA", }, { + USB_VENDOR_MTK, USB_PRODUCT_MTK_GPS_RECEIVER, + "GPS receiver", + }, + { USB_VENDOR_GARMIN, USB_PRODUCT_GARMIN_FORERUNNER305, "Forerunner 305", }, @@ -7311,4 +7319,4 @@ "Prestige", }, }; -const int usb_nproducts = 1346; +const int usb_nproducts = 1347;