/* SPDX-License-Identifier: GPL-2.0+ */ /* * USB HandSpring Visor driver * * Copyright (C) 1999 - 2003 * Greg Kroah-Hartman ([email protected]) * * See Documentation/usb/usb-serial.rst for more information on using this * driver. * */ #ifndef __LINUX_USB_SERIAL_VISOR_H #define __LINUX_USB_SERIAL_VISOR_H #define HANDSPRING_VENDOR_ID … #define HANDSPRING_VISOR_ID … #define HANDSPRING_TREO_ID … #define HANDSPRING_TREO600_ID … #define PALM_VENDOR_ID … #define PALM_M500_ID … #define PALM_M505_ID … #define PALM_M515_ID … #define PALM_I705_ID … #define PALM_M125_ID … #define PALM_M130_ID … #define PALM_TUNGSTEN_T_ID … #define PALM_TREO_650 … #define PALM_TUNGSTEN_Z_ID … #define PALM_ZIRE_ID … #define PALM_M100_ID … #define GSPDA_VENDOR_ID … #define GSPDA_XPLORE_M68_ID … #define SONY_VENDOR_ID … #define SONY_CLIE_3_5_ID … #define SONY_CLIE_4_0_ID … #define SONY_CLIE_S360_ID … #define SONY_CLIE_4_1_ID … #define SONY_CLIE_NX60_ID … #define SONY_CLIE_NZ90V_ID … #define SONY_CLIE_UX50_ID … #define SONY_CLIE_TJ25_ID … #define ACER_VENDOR_ID … #define ACER_S10_ID … #define SAMSUNG_VENDOR_ID … #define SAMSUNG_SCH_I330_ID … #define SAMSUNG_SPH_I500_ID … #define TAPWAVE_VENDOR_ID … #define TAPWAVE_ZODIAC_ID … #define GARMIN_VENDOR_ID … #define GARMIN_IQUE_3600_ID … #define ACEECA_VENDOR_ID … #define ACEECA_MEZ1000_ID … #define KYOCERA_VENDOR_ID … #define KYOCERA_7135_ID … #define FOSSIL_VENDOR_ID … #define FOSSIL_ABACUS_ID … /**************************************************************************** * Handspring Visor Vendor specific request codes (bRequest values) * A big thank you to Handspring for providing the following information. * If anyone wants the original file where these values and structures came * from, send email to <[email protected]>. ****************************************************************************/ /**************************************************************************** * VISOR_REQUEST_BYTES_AVAILABLE asks the visor for the number of bytes that * are available to be transferred to the host for the specified endpoint. * Currently this is not used, and always returns 0x0001 ****************************************************************************/ #define VISOR_REQUEST_BYTES_AVAILABLE … /**************************************************************************** * VISOR_CLOSE_NOTIFICATION is set to the device to notify it that the host * is now closing the pipe. An empty packet is sent in response. ****************************************************************************/ #define VISOR_CLOSE_NOTIFICATION … /**************************************************************************** * VISOR_GET_CONNECTION_INFORMATION is sent by the host during enumeration to * get the endpoints used by the connection. ****************************************************************************/ #define VISOR_GET_CONNECTION_INFORMATION … /**************************************************************************** * VISOR_GET_CONNECTION_INFORMATION returns data in the following format ****************************************************************************/ struct visor_connection_info { … }; /* struct visor_connection_info.connection[x].port defines: */ #define VISOR_ENDPOINT_1 … #define VISOR_ENDPOINT_2 … /* struct visor_connection_info.connection[x].port_function_id defines: */ #define VISOR_FUNCTION_GENERIC … #define VISOR_FUNCTION_DEBUGGER … #define VISOR_FUNCTION_HOTSYNC … #define VISOR_FUNCTION_CONSOLE … #define VISOR_FUNCTION_REMOTE_FILE_SYS … /**************************************************************************** * PALM_GET_SOME_UNKNOWN_INFORMATION is sent by the host during enumeration to * get some information from the M series devices, that is currently unknown. ****************************************************************************/ #define PALM_GET_EXT_CONNECTION_INFORMATION … /** * struct palm_ext_connection_info - return data from a PALM_GET_EXT_CONNECTION_INFORMATION request * @num_ports: maximum number of functions/connections in use * @endpoint_numbers_different: will be 1 if in and out endpoints numbers are * different, otherwise it is 0. If value is 1, then * connections.end_point_info is non-zero. If value is 0, then * connections.port contains the endpoint number, which is the same for in * and out. * @port_function_id: contains the creator id of the application that opened * this connection. * @port: contains the in/out endpoint number. Is 0 if in and out endpoint * numbers are different. * @end_point_info: high nubbe is in endpoint and low nibble will indicate out * endpoint. Is 0 if in and out endpoints are the same. * * The maximum number of connections currently supported is 2 */ struct palm_ext_connection_info { … }; #endif