patch-2.4.23 linux-2.4.23/include/linux/usb.h
Next file: linux-2.4.23/include/linux/usb_ch9.h
Previous file: linux-2.4.23/include/linux/threads.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/linux/usb.h
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.22/include/linux/usb.h linux-2.4.23/include/linux/usb.h
@@ -865,6 +865,7 @@
struct usb_device *children[USB_MAXCHILDREN];
};
+extern int usb_ifnum_to_ifpos(struct usb_device *dev, unsigned ifnum);
extern struct usb_interface *usb_ifnum_to_if(struct usb_device *dev, unsigned ifnum);
extern struct usb_endpoint_descriptor *usb_epnum_to_ep_desc(struct usb_device *dev, unsigned epnum);
@@ -873,6 +874,7 @@
extern void usb_scan_devices(void);
/* used these for multi-interface device registration */
+extern int usb_find_interface_driver_for_ifnum(struct usb_device *dev, unsigned int ifnum);
extern void usb_driver_claim_interface(struct usb_driver *driver, struct usb_interface *iface, void* priv);
extern int usb_interface_claimed(struct usb_interface *iface);
extern void usb_driver_release_interface(struct usb_driver *driver, struct usb_interface *iface);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)