ark3116.c (32078f915d1acab356080b144aa89fe3487f3979) | ark3116.c (68e24113457e437b1576670f2419b77ed0531e9e) |
---|---|
1/* 2 * Copyright (C) 2009 by Bart Hartgers (bart.hartgers+ark3116@gmail.com) 3 * Original version: 4 * Copyright (C) 2006 5 * Simon Schulz (ark3116_driver <at> auctionant.de) 6 * 7 * ark3116 8 * - implements a driver for the arkmicro ark3116 chipset (vendor=0x6547, --- 700 unchanged lines hidden (view full) --- 709 tty_insert_flip_char(tty, 0, TTY_OVERRUN); 710 } 711 tty_insert_flip_string_fixed_flag(tty, data, tty_flag, 712 urb->actual_length); 713 tty_flip_buffer_push(tty); 714 tty_kref_put(tty); 715} 716 | 1/* 2 * Copyright (C) 2009 by Bart Hartgers (bart.hartgers+ark3116@gmail.com) 3 * Original version: 4 * Copyright (C) 2006 5 * Simon Schulz (ark3116_driver <at> auctionant.de) 6 * 7 * ark3116 8 * - implements a driver for the arkmicro ark3116 chipset (vendor=0x6547, --- 700 unchanged lines hidden (view full) --- 709 tty_insert_flip_char(tty, 0, TTY_OVERRUN); 710 } 711 tty_insert_flip_string_fixed_flag(tty, data, tty_flag, 712 urb->actual_length); 713 tty_flip_buffer_push(tty); 714 tty_kref_put(tty); 715} 716 |
717static struct usb_driver ark3116_driver = { 718 .name = "ark3116", 719 .id_table = id_table, 720}; 721 | |
722static struct usb_serial_driver ark3116_device = { 723 .driver = { 724 .owner = THIS_MODULE, 725 .name = "ark3116", 726 }, 727 .id_table = id_table, 728 .num_ports = 1, 729 .attach = ark3116_attach, --- 10 unchanged lines hidden (view full) --- 740 .read_int_callback = ark3116_read_int_callback, 741 .process_read_urb = ark3116_process_read_urb, 742}; 743 744static struct usb_serial_driver * const serial_drivers[] = { 745 &ark3116_device, NULL 746}; 747 | 717static struct usb_serial_driver ark3116_device = { 718 .driver = { 719 .owner = THIS_MODULE, 720 .name = "ark3116", 721 }, 722 .id_table = id_table, 723 .num_ports = 1, 724 .attach = ark3116_attach, --- 10 unchanged lines hidden (view full) --- 735 .read_int_callback = ark3116_read_int_callback, 736 .process_read_urb = ark3116_process_read_urb, 737}; 738 739static struct usb_serial_driver * const serial_drivers[] = { 740 &ark3116_device, NULL 741}; 742 |
748module_usb_serial_driver(ark3116_driver, serial_drivers); | 743module_usb_serial_driver(serial_drivers, id_table); |
749 750MODULE_LICENSE("GPL"); 751 752MODULE_AUTHOR(DRIVER_AUTHOR); 753MODULE_DESCRIPTION(DRIVER_DESC); 754 755module_param(debug, bool, S_IRUGO | S_IWUSR); 756MODULE_PARM_DESC(debug, "Enable debug"); --- 101 unchanged lines hidden --- | 744 745MODULE_LICENSE("GPL"); 746 747MODULE_AUTHOR(DRIVER_AUTHOR); 748MODULE_DESCRIPTION(DRIVER_DESC); 749 750module_param(debug, bool, S_IRUGO | S_IWUSR); 751MODULE_PARM_DESC(debug, "Enable debug"); --- 101 unchanged lines hidden --- |