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

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

 



Hi Paolo,

On Thu, Jan 16, 2025 at 11:26 AM Paolo Pisati <p.pisati@xxxxxxxxx> wrote:
On Mon, Jan 13, 2025 at 09:04:01AM +0100, Geert Uytterhoeven wrote:
1) i've forced the word and long I/O helpers to be little endian, and this is
clearly a big no (see io_mm.h).

Can't that be avoided by setting ISA_SEX/isa_sex appropriately?

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, ...)?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds





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

  Powered by Linux