patch-2.3.99-pre2 linux/drivers/usb/hub.h
Next file: linux/drivers/usb/joydev.c
Previous file: linux/drivers/usb/hub.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Fri Mar 17 14:19:33 2000
- Orig file:
v2.3.99-pre1/linux/drivers/usb/hub.h
- Orig date:
Fri Jan 21 18:19:17 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/drivers/usb/hub.h linux/drivers/usb/hub.h
@@ -78,16 +78,10 @@
__u8 bDescriptorType;
__u8 bNbrPorts;
__u16 wHubCharacteristics;
-#if 0
- __u8 wHubCharacteristics[2]; /* __u16 but not aligned! */
-#endif
__u8 bPwrOn2PwrGood;
__u8 bHubContrCurrent;
/* DeviceRemovable and PortPwrCtrlMask want to be variable-length
bitmaps that hold max 256 entries, but for now they're ignored */
-#if 0
- __u8 filler;
-#endif
} __attribute__ ((packed));
struct usb_device;
@@ -112,9 +106,10 @@
/* Device structure */
struct usb_device *dev;
- /* Reference to the hub's polling IRQ and its associated pipe */
- void *irq_handle;
- unsigned int irqpipe;
+ /* Interrupt polling pipe */
+ struct urb *urb;
+
+ char buffer[USB_MAXCHILDREN / 8];
/* List of hubs */
struct list_head hub_list;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)