ipaq.c (32078f915d1acab356080b144aa89fe3487f3979) ipaq.c (68e24113457e437b1576670f2419b77ed0531e9e)
1/*
2 * USB Compaq iPAQ driver
3 *
4 * Copyright (C) 2001 - 2002
5 * Ganesh Varadarajan <ganesh@veritas.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 488 unchanged lines hidden (view full) ---

497 { USB_DEVICE(0x413C, 0x4009) }, /* Dell Axim USB Sync */
498 { USB_DEVICE(0x4505, 0x0010) }, /* Smartphone */
499 { USB_DEVICE(0x5E04, 0xCE00) }, /* SAGEM Wireless Assistant */
500 { } /* Terminating entry */
501};
502
503MODULE_DEVICE_TABLE(usb, ipaq_id_table);
504
1/*
2 * USB Compaq iPAQ driver
3 *
4 * Copyright (C) 2001 - 2002
5 * Ganesh Varadarajan <ganesh@veritas.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 488 unchanged lines hidden (view full) ---

497 { USB_DEVICE(0x413C, 0x4009) }, /* Dell Axim USB Sync */
498 { USB_DEVICE(0x4505, 0x0010) }, /* Smartphone */
499 { USB_DEVICE(0x5E04, 0xCE00) }, /* SAGEM Wireless Assistant */
500 { } /* Terminating entry */
501};
502
503MODULE_DEVICE_TABLE(usb, ipaq_id_table);
504
505static struct usb_driver ipaq_driver = {
506 .name = "ipaq",
507 .id_table = ipaq_id_table,
508};
509
505
510
511/* All of the device info needed for the Compaq iPAQ */
512static struct usb_serial_driver ipaq_device = {
513 .driver = {
514 .owner = THIS_MODULE,
515 .name = "ipaq",
516 },
517 .description = "PocketPC PDA",
518 .id_table = ipaq_id_table,

--- 90 unchanged lines hidden (view full) ---

609 }
610
611 dbg("%s - iPAQ module configured for %d ports",
612 __FUNCTION__, serial->num_ports);
613
614 return usb_reset_configuration(serial->dev);
615}
616
506/* All of the device info needed for the Compaq iPAQ */
507static struct usb_serial_driver ipaq_device = {
508 .driver = {
509 .owner = THIS_MODULE,
510 .name = "ipaq",
511 },
512 .description = "PocketPC PDA",
513 .id_table = ipaq_id_table,

--- 90 unchanged lines hidden (view full) ---

604 }
605
606 dbg("%s - iPAQ module configured for %d ports",
607 __FUNCTION__, serial->num_ports);
608
609 return usb_reset_configuration(serial->dev);
610}
611
617module_usb_serial_driver(ipaq_driver, serial_drivers);
612module_usb_serial_driver(serial_drivers, ipaq_id_table);
618
619MODULE_AUTHOR(DRIVER_AUTHOR);
620MODULE_DESCRIPTION(DRIVER_DESC);
621MODULE_LICENSE("GPL");
622
623module_param(debug, bool, S_IRUGO | S_IWUSR);
624MODULE_PARM_DESC(debug, "Debug enabled or not");
625
626module_param(connect_retries, int, S_IRUGO|S_IWUSR);
627MODULE_PARM_DESC(connect_retries,
628 "Maximum number of connect retries (one second each)");
629
630module_param(initial_wait, int, S_IRUGO|S_IWUSR);
631MODULE_PARM_DESC(initial_wait,
632 "Time to wait before attempting a connection (in seconds)");
613
614MODULE_AUTHOR(DRIVER_AUTHOR);
615MODULE_DESCRIPTION(DRIVER_DESC);
616MODULE_LICENSE("GPL");
617
618module_param(debug, bool, S_IRUGO | S_IWUSR);
619MODULE_PARM_DESC(debug, "Debug enabled or not");
620
621module_param(connect_retries, int, S_IRUGO|S_IWUSR);
622MODULE_PARM_DESC(connect_retries,
623 "Maximum number of connect retries (one second each)");
624
625module_param(initial_wait, int, S_IRUGO|S_IWUSR);
626MODULE_PARM_DESC(initial_wait,
627 "Time to wait before attempting a connection (in seconds)");