diff options
author | Wolfgang Denk <wd@castor.denx.de> | 2005-07-21 11:57:57 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@castor.denx.de> | 2005-07-21 11:57:57 +0200 |
commit | 9c998aa83148c75cd734a18958218926313bd54c (patch) | |
tree | c6d523801214c37337d3995dd1c405a7c329b37d /include | |
parent | f530187dbd69b0534e84b553f9a9803b16ed4999 (diff) | |
download | u-boot-imx-9c998aa83148c75cd734a18958218926313bd54c.zip u-boot-imx-9c998aa83148c75cd734a18958218926313bd54c.tar.gz u-boot-imx-9c998aa83148c75cd734a18958218926313bd54c.tar.bz2 |
Fix low-level OHCI transfers for ARM920t and MPC5xxx
A new, Windows compatible init sequence was also backported from Linux 2.6,
but disabled with #undef NEW_INIT_SEQ as it wouldn't change the behaviour
of the memopry sticks we tested. Maybe it's not relevant for mass storage
devices. For recerence, see file common/usb.c, function usb_new_device(),
section #ifdef NEW_INIT_SEQ.
Diffstat (limited to 'include')
-rw-r--r-- | include/usb.h | 2 | ||||
-rw-r--r-- | include/usb_defs.h | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/include/usb.h b/include/usb.h index 6940d32..39d7f23 100644 --- a/include/usb.h +++ b/include/usb.h @@ -41,7 +41,6 @@ #define USB_CNTL_TIMEOUT 100 /* 100ms timeout */ - /* String descriptor */ struct usb_string_descriptor { unsigned char bLength; @@ -191,6 +190,7 @@ int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer, #define USB_MAX_STOR_DEV 5 block_dev_desc_t *usb_stor_get_dev(int index); int usb_stor_scan(int mode); +void usb_stor_info(void); #endif diff --git a/include/usb_defs.h b/include/usb_defs.h index 33d1e46..353019f 100644 --- a/include/usb_defs.h +++ b/include/usb_defs.h @@ -26,20 +26,6 @@ #ifndef _USB_DEFS_H_ #define _USB_DEFS_H_ - -/* Everything is aribtrary */ -#define USB_ALTSETTINGALLOC 4 -#define USB_MAXALTSETTING 128 /* Hard limit */ - -#define USB_MAX_DEVICE 32 -#define USB_MAXCONFIG 8 -#define USB_MAXINTERFACES 8 -#define USB_MAXENDPOINTS 16 -#define USB_MAXCHILDREN 8 /* This is arbitrary */ -#define USB_MAX_HUB 16 - -#define USB_CNTL_TIMEOUT 100 /* 100ms timeout */ - /* USB constants */ /* Device and/or Interface Class codes */ |