All of lore.kernel.org
 help / color / mirror / Atom feed
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>
Subject: Re: [PATCH v7 1/4] m68k: Kconfig - select core PCMCIA support module for Amiga PCMCIA
Date: Sun, 5 Sep 2021 20:15:28 +1200	[thread overview]
Message-ID: <0caf0e92-2f74-7fe0-7530-1f2abf352500@gmail.com> (raw)
In-Reply-To: <6843c140-7f58-8510-30f2-201d824601df@gmail.com>

Hi Geert,

On 03/09/21 14:51, Michael Schmitz wrote:
> Hi Geert,
>
> [resending due to bounce]
>
> thanks for your review!
>
> On 03/09/21 00:42, Geert Uytterhoeven wrote:
>> Hi Michael,
>>
>> On Sun, Aug 29, 2021 at 5:12 AM Michael Schmitz<schmitzmic@gmail.com>
>> wrote:
>>> The 16 bit card support test for the apne.c driver needs a whole
>>> lot of hairy parser code which is already present in the core
>>> PCMCIA code - make use of that instead of duplicating it.
>>>
>>> Signed-off-by: Michael Schmitz<schmitzmic@gmail.com>
>> Thanks for your patch!
>>
>>> --- a/arch/m68k/Kconfig.bus
>>> +++ b/arch/m68k/Kconfig.bus
>>> @@ -31,6 +31,8 @@ config ZORRO
>>>   config AMIGA_PCMCIA
>>>          bool "Amiga 1200/600 PCMCIA support"
>> Can this become tristate?
> I suspect it can - though I wonder why it hasn't been made tristate
> before. Ah - pcmcia.c needs a little patch to add a MODULE_LICENSE clause.
>>>          depends on AMIGA
>>> +       select PCCARD
>>> +       select PCMCIA
>> This is now forcing PCCARD and PCMCIA builtin instead of modular
>> in an allmodconfig kernel.
> Thanks, that's what I'd been worried about.
>
> How do I make sure CONFIG_PCMCIA gets selected as module as well? I can
> select this when CONFIG_APNE is set, from
> drivers/net/ethernet/8390/Kconfig, but I'd then have to protect the
> cftable parse hook in amiga/pcmcia.c against the case where CONFIG_APNE
> is not selected.
>
> Not to mention we need to rename amiga/pcmcia.c to avoid a module naming
> conflict.

I think I rather leave pcmcia_is_16bit() in apne.c where I had initally 
put it. No other driver uses it, and I avoid mucking around with file 
renames. Core PCMCIA code can still be built as modules, as can the APNE 
driver.

Cheers,

	Michael




  parent reply	other threads:[~2021-09-05  8:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-29  3:11 [PATCH v7 0/4] Add APNE PCMCIA 100 Mbit support Michael Schmitz
2021-08-29  3:11 ` [PATCH v7 1/4] m68k: Kconfig - select core PCMCIA support module for Amiga PCMCIA Michael Schmitz
2021-09-02 12:42   ` Geert Uytterhoeven
2021-09-03  2:51     ` Michael Schmitz
2021-09-03 14:14       ` Geert Uytterhoeven
2021-09-03 21:51         ` Michael Schmitz
2021-09-05  8:15       ` Michael Schmitz [this message]
2021-08-29  3:11 ` [PATCH v7 2/4] m68k: amiga/pcmcia - implement 16 bit detection support for apne.c Michael Schmitz
2021-08-29  3:11 ` [PATCH v7 3/4] m68k: io_mm.h - add APNE 100 MBit support Michael Schmitz
2021-08-29  3:11 ` [PATCH net v7 4/4] net/8390: apne.c - add 100 Mbit support to apne.c driver Michael Schmitz
2021-11-02  6:24 ` [PATCH v7 0/4] Add APNE PCMCIA 100 Mbit support 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=0caf0e92-2f74-7fe0-7530-1f2abf352500@gmail.com \
    --to=schmitzmic@gmail.com \
    --cc=alex@kazik.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.