Subject: Re: OHCI question...
To: None <garrett_damore@tadpole.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 10/28/2005 21:01:35
In article <436140D8.30208@tadpole.com>
garrett_damore@tadpole.com wrote:

> 1) add logic to ohci.c to support run-time conditionalized byte 
> swapping.  Probably via a function pointer in the softc, this would 
> work, but might be a little bit slower.

sys/dev/ic/dp83932.c already has the similar logic.

>  (I'd conditionalize this 
> support via a new OHCI_NATIVE_ORDER or somesuch.)

Maybe you could use #if (OHCI_lebus > 0) && (OHCI_bebus > 0)
or something in ohcivar.h.
---
Izumi Tsutsui