Attached is a patch that should let you see information like the
OHCI factoids I posted earlier.  Changes are roughly:

    - ohci.h has more register mask constants, some commented

    - ohci.c has debug methods to let print such OHCI status

    - ohci.c code has in many places been changed to use those
      mask symbols rather than magic numbers

Clearly, getting rid of magic numbers is risky.  I don't think that
I broke anything, but will still give the diffs more of an eyeballing.
It worked fine for simple things on a controller that worked already.

The kernel used to generate this patch called itself "2.3.99-pre2"
and had the "pre2-3.gz" patch applied.  Roman's recent OHCI patch
touched different code.

I'd be interested to know if those new Macs that are failing are
doing so in the same way as my laptop (UE on device assignment), or
if any problems turn up in the "fewer magic numbers" changes.

- Dave

ohci-patch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to