[PATCH] pcmcia: unify yenta.c and pci_socket.c

Dominik Brodowski linux at brodo.de
Sun May 18 10:04:29 BST 2003


On Sun, May 18, 2003 at 06:58:58AM +0100, Christoph Hellwig wrote:
> On Sat, May 17, 2003 at 11:43:49PM +0200, Dominik Brodowski wrote:
> > +config CARDBUS
> > +	bool
> > +	depends on YENTA
> > +	default y if YENTA
> > +
> 
> Why should CONFIG_CARDBUS depend on one of the host bridge drivers?  (Even
> if it's the only one currently..)

Well, the clean way would be that CONFIG_YENTA depends on CONFIG_CARDBUS.
However, that'd mean two config options where currently one is enough. Also,
you can do

config CARDBUS
	bool
	depends on (YENTA || NEW_DRIVER)
	default y if (YENTA || NEW_DRIVER)


	Dominik-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20030518/9038c38d/attachment.bin


More information about the linux-pcmcia mailing list