Re: [PATCH 0/1] [RFC] Commodore's Gayle pcmcia driver

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

 



On Thu, Jan 16, 2025 at 11:37:22AM +0100, Geert Uytterhoeven wrote:

i tried ISA_SEX to do the be->le flipping but it broke all drivers: it seems
like isa_insw()/isa_outsw()/isa_insl()/isa_outsl() must retain the host
endianess.

Oh, I missed you're only overriding the non-repeating variants.

So ISA I/O registers are little endian, while ISA FIFO registers are
native endian, as they operate on the raw data stored somewhere else
(network, disk, ...)?

According to NetBSD[1], word access to the PCMCIA bus should be le but Kars
didn't modify isa_insw()/isa_outsw()/isa_insl()/isa_outsl(), so that was my
original assumption, but i'm not 100% sure here.

1: https://github.com/NetBSD/src/commit/07364bf8b04818675b3a1a1a23424be8c90ddfa2
-- 
bye,
p.




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux