public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Paolo Pisati <p.pisati@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paolo Pisati <p.pisati@gmail.com>,
	linux-m68k <linux-m68k@vger.kernel.org>,
	Kars de Jong <jongk@linux-m68k.org>
Subject: Re: [PATCH 0/1] [RFC] Commodore's Gayle pcmcia driver
Date: Thu, 16 Jan 2025 17:37:06 +0100	[thread overview]
Message-ID: <Z4k1sj8pP6KRUoXq@amaterasu.local> (raw)
In-Reply-To: <CAMuHMdUi62FctEsB+k5m7Ue+WZtU_iQ=ppEhBmM1hSAAZJc2SA@mail.gmail.com>

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.

      reply	other threads:[~2025-01-16 16:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-12 15:05 [PATCH 0/1] [RFC] Commodore's Gayle pcmcia driver Paolo Pisati
2025-01-12 15:05 ` [PATCH 1/1] pcmcia: socket driver for Commodore's Gayle Paolo Pisati
2025-01-13  8:04 ` [PATCH 0/1] [RFC] Commodore's Gayle pcmcia driver Geert Uytterhoeven
2025-01-16 10:26   ` Paolo Pisati
2025-01-16 10:37     ` Geert Uytterhoeven
2025-01-16 16:37       ` Paolo Pisati [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z4k1sj8pP6KRUoXq@amaterasu.local \
    --to=p.pisati@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=jongk@linux-m68k.org \
    --cc=linux-m68k@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox