OHCI_BE_FRAME_NO_SHIFT question

Valentine Barshak <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
drivers/usb/host/ohci.h:

/* HCCA frame number is 16 bits, but is accessed as 32 bits since not all
  * hardware handles 16 bit reads.  That creates a different confusion on
  * some big-endian SOC implementations.  Same thing happens with PSW 
access.
  *
  * FIXME: Deal with that as a runtime quirk when STB03xxx is ported over
  * to arch/powerpc
  */

#ifdef CONFIG_STB03xxx
#define OHCI_BE_FRAME_NO_SHIFT	16
#else
#define OHCI_BE_FRAME_NO_SHIFT	0
#endif


Shouldn't we #define OHCI_BE_FRAME_NO_SHIFT	16 for all big endian 
platforms?
(At least STB03xxx, 440EP/EPx should have it.)
Thanks,
Valentine.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.