From: Paolo Pisati <p.pisati@gmail.com>
To: Michael Schmitz <schmitzmic@gmail.com>
Cc: Paolo Pisati <p.pisati@gmail.com>,
linux-m68k <linux-m68k@vger.kernel.org>
Subject: Re: [PATCH 0/1] [RFC][NOT WORKING] amiga: pcmcia: inb()/inw() on GAYLE_IO space
Date: Sat, 2 Nov 2024 11:12:39 +0100 [thread overview]
Message-ID: <ZyX7FwacwYrOn1kz@amaterasu.local> (raw)
In-Reply-To: <062d8287-60aa-f1ac-0133-02a8ac4a9a60@gmail.com>
On Sat, Nov 02, 2024 at 03:02:16PM +1300, Michael Schmitz wrote:
> AFAIK the Gayle MMIO region is already mapped in head.S, and
> does not need ioremap() at all.
Uhm, ok.
> > 1) ioreamp() sock->phys_io, and subtract the GAYLE_IO offset (see
> > sock->socket.io_offset).
> >
> > or
> >
> > 2) set Amiga base IO port to 0x0 and patch
> > drivers/pcmcia/rsrc_mgr.c::static_find_io() (see https://dpaste.com//B75LTFF3V)
> >
> > In both case the 3c589_cs driver request an I/O aperture at 0x0300, large
> > 0x0010, receives it, but all read operations return 0xff or 0xffff.
>
> Can you post your .config? I wonder whether the
> CONFIG_ATARI_ROM_ISA option is set, because that would mess
> up inb()/outb() for ports < 0x400.
I cleaned up and made some progress, and now the first network card works: a
Corega ethernet PCMCIA supported by pcnet_cs - the same card is already
supported in the apne driver, though with the PCMCIA bridge, you get hot
plugging too.
Unfortunately, other PCMCIA cards I tested still don't work (an Etherlink
ethernet card, a CF adapter, a Ratoc serial card, and an 802.11 wifi card - all
of them with varying degrees of "not working").
I should probably repost the cleaned up driver.
--
bye,
p.
prev parent reply other threads:[~2024-11-02 10:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-26 15:42 [PATCH 0/1] [RFC][NOT WORKING] amiga: pcmcia: inb()/inw() on GAYLE_IO space Paolo Pisati
2024-10-26 15:42 ` [PATCH 1/1] pcmcia: gayle: initial support Paolo Pisati
2024-11-02 2:02 ` [PATCH 0/1] [RFC][NOT WORKING] amiga: pcmcia: inb()/inw() on GAYLE_IO space Michael Schmitz
2024-11-02 10:12 ` 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=ZyX7FwacwYrOn1kz@amaterasu.local \
--to=p.pisati@gmail.com \
--cc=linux-m68k@vger.kernel.org \
--cc=schmitzmic@gmail.com \
/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