Google
  Web www.spinics.net

OHCI_BE_FRAME_NO_SHIFT question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux