cyberjack.c (32078f915d1acab356080b144aa89fe3487f3979) cyberjack.c (68e24113457e437b1576670f2419b77ed0531e9e)
1/*
2 * REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver
3 *
4 * Copyright (C) 2001 REINER SCT
5 * Author: Matthias Bruestle
6 *
7 * Contact: support@reiner-sct.com (see MAINTAINERS)
8 *

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

72
73static const struct usb_device_id id_table[] = {
74 { USB_DEVICE(CYBERJACK_VENDOR_ID, CYBERJACK_PRODUCT_ID) },
75 { } /* Terminating entry */
76};
77
78MODULE_DEVICE_TABLE(usb, id_table);
79
1/*
2 * REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver
3 *
4 * Copyright (C) 2001 REINER SCT
5 * Author: Matthias Bruestle
6 *
7 * Contact: support@reiner-sct.com (see MAINTAINERS)
8 *

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

72
73static const struct usb_device_id id_table[] = {
74 { USB_DEVICE(CYBERJACK_VENDOR_ID, CYBERJACK_PRODUCT_ID) },
75 { } /* Terminating entry */
76};
77
78MODULE_DEVICE_TABLE(usb, id_table);
79
80static struct usb_driver cyberjack_driver = {
81 .name = "cyberjack",
82 .id_table = id_table,
83};
84
85static struct usb_serial_driver cyberjack_device = {
86 .driver = {
87 .owner = THIS_MODULE,
88 .name = "cyberjack",
89 },
90 .description = "Reiner SCT Cyberjack USB card reader",
91 .id_table = id_table,
92 .num_ports = 1,

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

450 }
451 }
452
453exit:
454 spin_unlock(&priv->lock);
455 usb_serial_port_softint(port);
456}
457
80static struct usb_serial_driver cyberjack_device = {
81 .driver = {
82 .owner = THIS_MODULE,
83 .name = "cyberjack",
84 },
85 .description = "Reiner SCT Cyberjack USB card reader",
86 .id_table = id_table,
87 .num_ports = 1,

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

445 }
446 }
447
448exit:
449 spin_unlock(&priv->lock);
450 usb_serial_port_softint(port);
451}
452
458module_usb_serial_driver(cyberjack_driver, serial_drivers);
453module_usb_serial_driver(serial_drivers, id_table);
459
460MODULE_AUTHOR(DRIVER_AUTHOR);
461MODULE_DESCRIPTION(DRIVER_DESC);
462MODULE_VERSION(DRIVER_VERSION);
463MODULE_LICENSE("GPL");
464
465module_param(debug, bool, S_IRUGO | S_IWUSR);
466MODULE_PARM_DESC(debug, "Debug enabled or not");
454
455MODULE_AUTHOR(DRIVER_AUTHOR);
456MODULE_DESCRIPTION(DRIVER_DESC);
457MODULE_VERSION(DRIVER_VERSION);
458MODULE_LICENSE("GPL");
459
460module_param(debug, bool, S_IRUGO | S_IWUSR);
461MODULE_PARM_DESC(debug, "Debug enabled or not");