Recently removed io accessors

Peter Korsgaard jacmet at sunsite.dk
Tue Oct 17 04:54:10 EST 2006


>>>>> "LV" == Linas Vepstas <linas at austin.ibm.com> writes:

Hi,

>> It doesn't have to be readw (16bit accesses). Enabling the BE mode
>> and using _outsl/_insl (32bit access with byteswap) works fine.

LV> I think Paul was trrying to say that it might be easier just to
LV> 16-bit words. Are you trying to use 32-bit access due to
LV> performance concerns?

Yes, this is the hot path of the driver as I don't have DMA hardware
(copy to/from packet buffer).

Another reason is that the same driver is used for the entire 911x
series, some which have an 16bit interface and others with full 32bit.

-- 
Bye, Peter Korsgaard



More information about the Linuxppc-dev mailing list