From: Michael Schmitz <schmitzmic@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux/m68k <linux-m68k@vger.kernel.org>,
ALeX Kazik <alex@kazik.de>, Denis Kirjanov <dkirjanov@suse.de>
Subject: Re: [PATCH v11 1/3] m68k: amiga/pcmcia - add 16 bit detection interface to amipcmcia.h
Date: Thu, 18 Nov 2021 17:58:33 +1300 [thread overview]
Message-ID: <a5a71ab2-2e71-ca0f-59b1-d85c4e86bfe8@gmail.com> (raw)
In-Reply-To: <CAMuHMdVZHHAKb8y0YKbKJ5Qw-_pJvwczaNqkrsJhFEWQd6h4uw@mail.gmail.com>
Hi Geert,
On 18/11/21 03:35, Geert Uytterhoeven wrote:
> Hi Michael,
>
> On Wed, Nov 17, 2021 at 8:15 AM Michael Schmitz <schmitzmic@gmail.com> wrote:
>> On 15/11/21 22:59, Geert Uytterhoeven wrote:
>>> On Mon, Nov 15, 2021 at 12:40 AM Michael Schmitz <schmitzmic@gmail.com> wrote:
>>>> Add the interface definition for 16 bit card autoprobing (using
>>>> the generic PCMCIA cftable entry parser) to amipcmcia.h for use
>>>> by apne.c. Include necessary cftable definitions from cistpl.h,
>>>> remove locally duplicate definitions from amipcmcia.h.
>>>>
>>>> Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
>>>
>>> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
>>
>> I may have to give this another spin, in order to address a review
>> comment by Denis about making the apne.c 16 bit IO autoprobe module
>> parameter ('100mbit') a sysfs parameter.
>>
>> I suggest to move that parameter to arch/m68k/amiga/pcmcia.c to ensure
>> it's always visible, and rename it to better reflect its actual function
>> (pcmcia_16bit comes to mind). apne.c would then use that parameter to
>> autoprobe 16 bit IO support, or set isa_type according to the parameter.
>>
>> Would that satisfy your concerns, Denis?
>
> What's the point of the sysfs parameter, given the driver cannot be
> unbound and rebound, as it does not use the driver model yet?
Pre-setting the desired IO type before loading the module - though
actual setting of isa_type still has to wait until module load (or
driver probe). I'd have to write a callback that validates user input if
we want to set isa_type directly in pcmcia.c ...
> The only thing you can (try to) do is unload and reload the module,
> at which point you can pass the module parameter again?
I take that as 'don't do that', then ... ?
Cheers,
Michael
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> 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
>
next prev parent reply other threads:[~2021-11-18 4:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-14 23:40 [PATCH v11 0/3] Add APNE PCMCIA 100 Mbit support Michael Schmitz
2021-11-14 23:40 ` [PATCH v11 1/3] m68k: amiga/pcmcia - add 16 bit detection interface to amipcmcia.h Michael Schmitz
2021-11-15 9:59 ` Geert Uytterhoeven
2021-11-17 7:15 ` Michael Schmitz
2021-11-17 14:35 ` Geert Uytterhoeven
2021-11-18 4:58 ` Michael Schmitz [this message]
2021-11-18 8:09 ` Geert Uytterhoeven
2021-11-18 19:42 ` Michael Schmitz
2021-11-14 23:40 ` [PATCH v11 2/3] m68k: io_mm.h - add APNE 100 MBit support Michael Schmitz
2021-11-14 23:40 ` [PATCH net v11 3/3] net/8390: apne.c - add 100 Mbit support to apne.c driver Michael Schmitz
2021-11-17 14:42 ` Geert Uytterhoeven
2021-11-18 4:58 ` Michael Schmitz
2021-11-18 8:01 ` Geert Uytterhoeven
2021-11-18 19:09 ` Michael Schmitz
2021-11-18 19:18 ` Joe Perches
2021-11-18 19:35 ` Michael Schmitz
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=a5a71ab2-2e71-ca0f-59b1-d85c4e86bfe8@gmail.com \
--to=schmitzmic@gmail.com \
--cc=alex@kazik.de \
--cc=dkirjanov@suse.de \
--cc=geert@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