visor.c (32078f915d1acab356080b144aa89fe3487f3979) | visor.c (68e24113457e437b1576670f2419b77ed0531e9e) |
---|---|
1/* 2 * USB HandSpring Visor, Palm m50x, and Sony Clie driver 3 * (supports all of the Palm OS USB devices) 4 * 5 * Copyright (C) 1999 - 2004 6 * Greg Kroah-Hartman (greg@kroah.com) 7 * 8 * This program is free software; you can redistribute it and/or --- 149 unchanged lines hidden (view full) --- 158 { USB_DEVICE(ACEECA_VENDOR_ID, ACEECA_MEZ1000_ID) }, 159 { USB_DEVICE(KYOCERA_VENDOR_ID, KYOCERA_7135_ID) }, 160 { USB_DEVICE(FOSSIL_VENDOR_ID, FOSSIL_ABACUS_ID) }, 161 { } /* Terminating entry */ 162}; 163 164MODULE_DEVICE_TABLE(usb, id_table_combined); 165 | 1/* 2 * USB HandSpring Visor, Palm m50x, and Sony Clie driver 3 * (supports all of the Palm OS USB devices) 4 * 5 * Copyright (C) 1999 - 2004 6 * Greg Kroah-Hartman (greg@kroah.com) 7 * 8 * This program is free software; you can redistribute it and/or --- 149 unchanged lines hidden (view full) --- 158 { USB_DEVICE(ACEECA_VENDOR_ID, ACEECA_MEZ1000_ID) }, 159 { USB_DEVICE(KYOCERA_VENDOR_ID, KYOCERA_7135_ID) }, 160 { USB_DEVICE(FOSSIL_VENDOR_ID, FOSSIL_ABACUS_ID) }, 161 { } /* Terminating entry */ 162}; 163 164MODULE_DEVICE_TABLE(usb, id_table_combined); 165 |
166static struct usb_driver visor_driver = { 167 .name = "visor", 168 .id_table = id_table_combined, 169}; 170 | |
171/* All of the device info needed for the Handspring Visor, 172 and Palm 4.0 devices */ 173static struct usb_serial_driver handspring_device = { 174 .driver = { 175 .owner = THIS_MODULE, 176 .name = "visor", 177 }, 178 .description = "Handspring Visor / Palm OS", --- 441 unchanged lines hidden (view full) --- 620 621 pipe = usb_sndbulkpipe(serial->dev, port->bulk_out_endpointAddress); 622 for (j = 0; j < ARRAY_SIZE(port->write_urbs); ++j) 623 port->write_urbs[j]->pipe = pipe; 624 625 return 0; 626} 627 | 166/* All of the device info needed for the Handspring Visor, 167 and Palm 4.0 devices */ 168static struct usb_serial_driver handspring_device = { 169 .driver = { 170 .owner = THIS_MODULE, 171 .name = "visor", 172 }, 173 .description = "Handspring Visor / Palm OS", --- 441 unchanged lines hidden (view full) --- 615 616 pipe = usb_sndbulkpipe(serial->dev, port->bulk_out_endpointAddress); 617 for (j = 0; j < ARRAY_SIZE(port->write_urbs); ++j) 618 port->write_urbs[j]->pipe = pipe; 619 620 return 0; 621} 622 |
628module_usb_serial_driver(visor_driver, serial_drivers); | 623module_usb_serial_driver(serial_drivers, id_table_combined); |
629 630MODULE_AUTHOR(DRIVER_AUTHOR); 631MODULE_DESCRIPTION(DRIVER_DESC); 632MODULE_LICENSE("GPL"); 633 634module_param(debug, bool, S_IRUGO | S_IWUSR); 635MODULE_PARM_DESC(debug, "Debug enabled or not"); | 624 625MODULE_AUTHOR(DRIVER_AUTHOR); 626MODULE_DESCRIPTION(DRIVER_DESC); 627MODULE_LICENSE("GPL"); 628 629module_param(debug, bool, S_IRUGO | S_IWUSR); 630MODULE_PARM_DESC(debug, "Debug enabled or not"); |