Enabling CPU features for qemu.
[kvmfornfv.git] / kernel / drivers / usb / class / cdc-acm.h
index b3b6c9d..b30ac5f 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #define ACM_TTY_MAJOR          166
-#define ACM_TTY_MINORS         32
+#define ACM_TTY_MINORS         256
 
 /*
  * Requests.
@@ -95,7 +95,6 @@ struct acm {
        struct urb *read_urbs[ACM_NR];
        struct acm_rb read_buffers[ACM_NR];
        int rx_buflimit;
-       int rx_endpoint;
        spinlock_t read_lock;
        int write_used;                                 /* number of non-empty write buffers */
        int transmitting;
@@ -134,3 +133,4 @@ struct acm {
 #define IGNORE_DEVICE                  BIT(5)
 #define QUIRK_CONTROL_LINE_STATE       BIT(6)
 #define CLEAR_HALT_CONDITIONS          BIT(7)
+#define SEND_ZERO_PACKET               BIT(8)