patch-2.3.1 linux/drivers/usb/uhci.h
Next file: linux/drivers/usb/usb.c
Previous file: linux/drivers/usb/uhci.c
Back to the patch index
Back to the overall index
- Lines: 55
- Date:
Thu May 13 14:42:51 1999
- Orig file:
v2.3.0/linux/drivers/usb/uhci.h
- Orig date:
Wed Apr 28 11:14:03 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/usb/uhci.h linux/drivers/usb/uhci.h
@@ -91,8 +91,20 @@
void *dev_id;
int inuse; /* Inuse? */
struct uhci_qh *qh;
+ struct uhci_td *first;
} __attribute__((aligned(32)));
+struct uhci_iso_td {
+ int num;
+ char *data;
+ int maxsze;
+
+ struct uhci_td *td;
+
+ int frame;
+ int endframe;
+};
+
/*
* Note the alignment requirements of the entries
*
@@ -102,7 +114,7 @@
*/
struct uhci;
-#define UHCI_MAXTD 64
+#define UHCI_MAXTD 64
#define UHCI_MAXQH 16
@@ -124,9 +136,11 @@
* The root hub pre-allocated QH's and TD's have
* some special global uses..
*/
+#if 0
#define control_td td /* Td's 0-30 */
/* This is only for the root hub's TD list */
#define tick_td td[31]
+#endif
/*
* There are various standard queues. We set up several different
@@ -224,6 +238,12 @@
void show_td(struct uhci_td * td);
void show_status(struct uhci *uhci);
void show_queues(struct uhci *uhci);
+
+int uhci_compress_isochronous(struct usb_device *usb_dev, void *_isodesc);
+int uhci_unsched_isochronous(struct usb_device *usb_dev, void *_isodesc);
+int uhci_sched_isochronous(struct usb_device *usb_dev, void *_isodesc, void *_pisodesc);
+void *uhci_alloc_isochronous(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int maxsze, usb_device_irq completed, void *dev_id);
+void uhci_delete_isochronous(struct usb_device *dev, void *_isodesc);
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)