Re: [PATCH] EHCI: Safe endianness for transfer buffers after reset in case of HUB with TT
Greg KH <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, May 07, 2007 at 10:51:44AM +0400, Vladimir Barinov wrote: > This patch fixes the endianness select for transfer buffers in EHCI controllers that have Transaction Translator built in the hub. > Also I cleaned it up to make rid of magic numbers. > > Signed-off-by: Vladimir Barinov <[email protected]> > > ------ > > --- usb-2.6.orig/drivers/usb/host/ehci.h????????2007-05-02 17:31:10.000000000 +0400 > +++ usb-2.6.new/drivers/usb/host/ehci.h?2007-05-02 18:15:11.000000000 +0400 > @@ -299,6 +299,12 @@ struct ehci_regs { > ?#define PORT_RWC_BITS ? (PORT_CSC | PORT_PEC | PORT_OCC) > ?} __attribute__ ((packed)); > ? > +#define USBMODE????????????????0x68????????????/* USB Device mode */ > +#define USBMODE_SDIS???(1<<3)??????????/* Stream disable */ > +#define USBMODE_BE?????(1<<2)??????????/* BE/LE endianness select */ > +#define USBMODE_CM_HC??(3<<0)??????????/* host controller mode */ > +#define USBMODE_CM_IDLE????????(0<<0)??????????/* idle state */ This patch is really mangled, can you try fixing your email client and try again? thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel