LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* some PCMCIA SCSI drivers can be built *only* as modules
@ 2007-03-25 13:20 Robert P. J. Day
  2007-03-26 13:27 ` Stefan Richter
  0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2007-03-25 13:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List


drivers/scsi/pcmcia/Kconfig:
...
config PCMCIA_AHA152X
        tristate "Adaptec AHA152X PCMCIA support"
        depends on m && !64BIT
        select SCSI_SPI_ATTRS
        help
          Say Y here if you intend to attach this type of PCMCIA SCSI host
          adapter to your computer.

          To compile this driver as a module, choose M here: the
          module will be called aha152x_cs.
...

  it would seem to make no sense that the "depends on" clause for this
option includes "m", forcing this (and all other four entries in that
Kconfig file, by the way) to be built as modules, while the help text
for all five entries suggests you can select "y".

  as jack nicholson would say, something's gotta give.

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some PCMCIA SCSI drivers can be built *only* as modules
  2007-03-25 13:20 some PCMCIA SCSI drivers can be built *only* as modules Robert P. J. Day
@ 2007-03-26 13:27 ` Stefan Richter
  2007-03-26 20:02   ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Richter @ 2007-03-26 13:27 UTC (permalink / raw)
  To: Robert P. J. Day, linux-scsi; +Cc: Linux Kernel Mailing List

Robert P. J. Day wrote at LKML:
> drivers/scsi/pcmcia/Kconfig:
> ...
> config PCMCIA_AHA152X
>         tristate "Adaptec AHA152X PCMCIA support"
>         depends on m && !64BIT
>         select SCSI_SPI_ATTRS
>         help
>           Say Y here if you intend to attach this type of PCMCIA SCSI host
>           adapter to your computer.
> 
>           To compile this driver as a module, choose M here: the
>           module will be called aha152x_cs.
> ...
> 
>   it would seem to make no sense that the "depends on" clause for this
> option includes "m", forcing this (and all other four entries in that
> Kconfig file, by the way) to be built as modules, while the help text
> for all five entries suggests you can select "y".
> 
>   as jack nicholson would say, something's gotta give.

LSML a.k.a. linux-scsi may know what's gotta give.
-- 
Stefan Richter
-=====-=-=== --== ==-=-
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some PCMCIA SCSI drivers can be built *only* as modules
  2007-03-26 13:27 ` Stefan Richter
@ 2007-03-26 20:02   ` Christoph Hellwig
  2007-03-26 20:35     ` James Bottomley
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2007-03-26 20:02 UTC (permalink / raw)
  To: Stefan Richter; +Cc: Robert P. J. Day, linux-scsi, Linux Kernel Mailing List

> >   it would seem to make no sense that the "depends on" clause for this
> > option includes "m", forcing this (and all other four entries in that
> > Kconfig file, by the way) to be built as modules, while the help text
> > for all five entries suggests you can select "y".

In the old days pcmcia drivers had to be modular because pcmcia required
a lot of userspace setup.  It's not needed anymore these days and the
dependencies can go.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some PCMCIA SCSI drivers can be built *only* as modules
  2007-03-26 20:02   ` Christoph Hellwig
@ 2007-03-26 20:35     ` James Bottomley
  2007-03-26 20:38       ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: James Bottomley @ 2007-03-26 20:35 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Stefan Richter, Robert P. J. Day, linux-scsi, Linux Kernel Mailing List

On Mon, 2007-03-26 at 21:02 +0100, Christoph Hellwig wrote:
> > >   it would seem to make no sense that the "depends on" clause for this
> > > option includes "m", forcing this (and all other four entries in that
> > > Kconfig file, by the way) to be built as modules, while the help text
> > > for all five entries suggests you can select "y".
> 
> In the old days pcmcia drivers had to be modular because pcmcia required
> a lot of userspace setup.  It's not needed anymore these days and the
> dependencies can go.

I agree the non-legacy (CardBus and beyond) ones can be built in.  I
thought the legacy 8 and 16 bit type I and II still had to be modular
because they still need setting up.

James



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some PCMCIA SCSI drivers can be built *only* as modules
  2007-03-26 20:35     ` James Bottomley
@ 2007-03-26 20:38       ` Christoph Hellwig
  2007-03-26 21:06         ` James Bottomley
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2007-03-26 20:38 UTC (permalink / raw)
  To: James Bottomley
  Cc: Christoph Hellwig, Stefan Richter, Robert P. J. Day, linux-scsi,
	Linux Kernel Mailing List

On Mon, Mar 26, 2007 at 03:35:47PM -0500, James Bottomley wrote:
> I agree the non-legacy (CardBus and beyond) ones can be built in.  I
> thought the legacy 8 and 16 bit type I and II still had to be modular
> because they still need setting up.

nope.  While I don't have a pcmcia scsi card my 16 bit pcmcia wireless
cards work perfectly fine without any previous setup.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some PCMCIA SCSI drivers can be built *only* as modules
  2007-03-26 20:38       ` Christoph Hellwig
@ 2007-03-26 21:06         ` James Bottomley
  2007-03-30 20:48           ` Dominik Brodowski
  0 siblings, 1 reply; 7+ messages in thread
From: James Bottomley @ 2007-03-26 21:06 UTC (permalink / raw)
  To: Christoph Hellwig, Dominik Brodowski
  Cc: Stefan Richter, Robert P. J. Day, linux-scsi, Linux Kernel Mailing List

On Mon, 2007-03-26 at 21:38 +0100, Christoph Hellwig wrote:
> On Mon, Mar 26, 2007 at 03:35:47PM -0500, James Bottomley wrote:
> > I agree the non-legacy (CardBus and beyond) ones can be built in.  I
> > thought the legacy 8 and 16 bit type I and II still had to be modular
> > because they still need setting up.
> 
> nope.  While I don't have a pcmcia scsi card my 16 bit pcmcia wireless
> cards work perfectly fine without any previous setup.

OK ... I had the opposite experience ... A ZoomAir 802.11b card wasn't
working because I'd accidentally config'd it non-modular.  However, if
Dominik confirms it's all supposed to work non-modular, I'm happy to
conclude my experience was pilot error.

James



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: some PCMCIA SCSI drivers can be built *only* as modules
  2007-03-26 21:06         ` James Bottomley
@ 2007-03-30 20:48           ` Dominik Brodowski
  0 siblings, 0 replies; 7+ messages in thread
From: Dominik Brodowski @ 2007-03-30 20:48 UTC (permalink / raw)
  To: James Bottomley
  Cc: Christoph Hellwig, Stefan Richter, Robert P. J. Day, linux-scsi,
	Linux Kernel Mailing List

On Mon, Mar 26, 2007 at 04:06:53PM -0500, James Bottomley wrote:
> On Mon, 2007-03-26 at 21:38 +0100, Christoph Hellwig wrote:
> > On Mon, Mar 26, 2007 at 03:35:47PM -0500, James Bottomley wrote:
> > > I agree the non-legacy (CardBus and beyond) ones can be built in.  I
> > > thought the legacy 8 and 16 bit type I and II still had to be modular
> > > because they still need setting up.
> > 
> > nope.  While I don't have a pcmcia scsi card my 16 bit pcmcia wireless
> > cards work perfectly fine without any previous setup.
> 
> OK ... I had the opposite experience ... A ZoomAir 802.11b card wasn't
> working because I'd accidentally config'd it non-modular.  However, if
> Dominik confirms it's all supposed to work non-modular.

PCMCIA card drivers should (famous last words) work just fine if built as
modules. They may not be bound to devices, depending on the arch and 
system, until userspace tools have run, but this is independent of modular
or built-in drivers. So a full ACK on this.

Thanks,

Dominik

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-03-30 20:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25 13:20 some PCMCIA SCSI drivers can be built *only* as modules Robert P. J. Day
2007-03-26 13:27 ` Stefan Richter
2007-03-26 20:02   ` Christoph Hellwig
2007-03-26 20:35     ` James Bottomley
2007-03-26 20:38       ` Christoph Hellwig
2007-03-26 21:06         ` James Bottomley
2007-03-30 20:48           ` Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).