MFNetBSD: Update the list of devices that can attach to uvisor (untested).

This commit is contained in:
Josef Karthauser 2003-07-14 19:30:01 +00:00
parent f3a126d3d8
commit 83c1347694
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117578
2 changed files with 30 additions and 12 deletions

View file

@ -667,6 +667,7 @@ product HAGIWARA FG 0x0005 FlashGate
/* Handspring, Inc. */
product HANDSPRING VISOR 0x0100 Handspring Visor
product HANDSPRING TREO 0x0200 Handspring Treo
/* Hauppauge Computer Works */
product HAUPPAUGE WINTV_USB_FM 0x4d12 WinTV USB FM
@ -949,7 +950,12 @@ product PALM SERIAL 0x0080 USB Serial Adaptor
product PALM M500 0x0001 Palm m500
product PALM M505 0x0002 Palm m505
product PALM M515 0x0003 Palm m515
product PALM I705 0x0020 Palm i705
product PALM TUNGSTEN_Z 0x0031 Palm Tungsten Z
product PALM M125 0x0040 Palm m125
product PALM M130 0x0050 Palm m130
product PALM TUNGSTEN_T 0x0060 Palm Tungsten T
product PALM ZIRE 0x0070 Palm Zire
/* Panasonic products */
product PANASONIC SDCAAE 0x1b00 MultiMediaCard Adapter
@ -1091,9 +1097,13 @@ product SOLIDYEAR KEYBOARD 0x2101 Solid Year USB keyboard
product SONY DSC 0x0010 DSC cameras
product SONY MSACUS1 0x002d Memorystick MSAC-US1
product SONY MSC 0x0032 MSC memory stick slot
product SONY CLIE_35 0x0038 Sony Clie v3.5
product SONY CLIE_40 0x0066 Sony Clie v4.0
product SONY CLIE_40_MS 0x006d Sony Clie v4.0 Memory Stick slot
product SONY CLIE_S360 0x0095 Sony Clie s360
product SONY CLIE_41_MS 0x0099 Sony Clie v4.1 Memory Stick slot
product SONY CLIE_41 0x009a Sony Clie v4.1
product SONY CLIE_50 0x00da Sony Clie v5.0
product SONY CLIE_NX60 0x00da Sony Clie nx60
/* STMicroelectronics products */
product STMICRO COMMUNICATOR 0x7554 USB Communicator

View file

@ -1,18 +1,19 @@
/* $NetBSD: uvisor.c,v 1.9 2001/01/23 14:04:14 augustss Exp $ */
/* $FreeBSD$ */
/* This version of uvisor is heavily based upon the version in NetBSD
* but is missing the following patches:
*
* 1.10 needed? connect a ucom to each of the uvisor ports
* 1.11 needed ucom has an "info" attach message - use it
* 1.12 not needed rcsids
* 1.13 already merged extra arg to usbd_do_request_flags
* 1.14 already merged sony and palm support
* 1.15 already merged sony clie
* 1.16 already merged trailing whites
/* Also already merged from NetBSD:
* $NetBSD: uvisor.c,v 1.12 2001/11/13 06:24:57 lukem Exp $
* $NetBSD: uvisor.c,v 1.13 2002/02/11 15:11:49 augustss Exp $
* $NetBSD: uvisor.c,v 1.14 2002/02/27 23:00:03 augustss Exp $
* $NetBSD: uvisor.c,v 1.15 2002/06/16 15:01:31 augustss Exp $
* $NetBSD: uvisor.c,v 1.16 2002/07/11 21:14:36 augustss Exp $
* $NetBSD: uvisor.c,v 1.17 2002/08/13 11:38:15 augustss Exp $
* $NetBSD: uvisor.c,v 1.18 2003/02/05 00:50:14 augustss Exp $
* $NetBSD: uvisor.c,v 1.19 2003/02/07 18:12:37 augustss Exp $
* $NetBSD: uvisor.c,v 1.20 2003/04/11 01:30:10 simonb Exp $
*/
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
@ -196,13 +197,20 @@ struct uvisor_type {
};
static const struct uvisor_type uvisor_devs[] = {
{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_VISOR }, 0 },
{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M500 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M505 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M515 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_I705 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M125 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M130 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_Z }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_T }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_ZIRE }, PALM4 },
{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_40 }, PALM4 },
{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_41 }, 0 },
{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_50 }, 0 },
{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_S360 }, PALM4 },
{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_NX60 }, PALM4 },
/* {{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_25 }, PALM4 },*/
};
#define uvisor_lookup(v, p) ((const struct uvisor_type *)usb_lookup(uvisor_devs, v, p))