All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] simplify PARPORT_PC_PCMCIA dependencies
@ 2005-11-06  0:55 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-11-06  0:55 UTC (permalink / raw)
  To: philb, tim, campbell, andrea; +Cc: linux-parport, linux-kernel

Unless I miss something, this should be the simplest way to express the 
intended dependencies.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.14-rc5-mm1-full/drivers/parport/Kconfig.old	2005-11-06 01:17:13.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/parport/Kconfig	2005-11-06 01:17:45.000000000 +0100
@@ -77,7 +77,7 @@
 
 config PARPORT_PC_PCMCIA
 	tristate "Support for PCMCIA management for PC-style ports"
-	depends on PARPORT!=n && (PCMCIA!=n && PARPORT_PC=m && PARPORT_PC || PARPORT_PC=y && PCMCIA)
+	depends on PCMCIA && PARPORT_PC
 	help
 	  Say Y here if you need PCMCIA support for your PC-style parallel
 	  ports. If unsure, say N.


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

* [2.6 patch] simplify PARPORT_PC_PCMCIA dependencies
@ 2005-12-11 21:54 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-12-11 21:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: philb, tim, campbell, andrea, linux-parport, linux-kernel

Unless I miss something, this should be the simplest way to express the 
intended dependencies.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 6 Nov 2005

--- linux-2.6.14-rc5-mm1-full/drivers/parport/Kconfig.old	2005-11-06 01:17:13.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/parport/Kconfig	2005-11-06 01:17:45.000000000 +0100
@@ -77,7 +77,7 @@
 
 config PARPORT_PC_PCMCIA
 	tristate "Support for PCMCIA management for PC-style ports"
-	depends on PARPORT!=n && (PCMCIA!=n && PARPORT_PC=m && PARPORT_PC || PARPORT_PC=y && PCMCIA)
+	depends on PCMCIA && PARPORT_PC
 	help
 	  Say Y here if you need PCMCIA support for your PC-style parallel
 	  ports. If unsure, say N.


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

* [2.6 patch] simplify PARPORT_PC_PCMCIA dependencies
@ 2004-01-12  2:29 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2004-01-12  2:29 UTC (permalink / raw)
  To: David Hinds; +Cc: linux-kernel

Hi David,

after looking at the 2.4 PARPORT_PC_PCMCIA dependencies, it seems the 
intention for 2.6 are what my patch below does.

Is this patch correct, or did I miss some trick in the dependencies?

cu
Adrian

--- linux-2.6.1-mm2/drivers/parport/Kconfig.old	2004-01-12 03:11:33.000000000 +0100
+++ linux-2.6.1-mm2/drivers/parport/Kconfig	2004-01-12 03:17:26.000000000 +0100
@@ -83,7 +83,7 @@
 
 config PARPORT_PC_PCMCIA
 	tristate "Support for PCMCIA management for PC-style ports"
-	depends on PARPORT!=n && HOTPLUG && (PCMCIA!=n && PARPORT_PC=m && PARPORT_PC || PARPORT_PC=y && PCMCIA)
+	depends on HOTPLUG && PCMCIA && PARPORT_PC
 	help
 	  Say Y here if you need PCMCIA support for your PC-style parallel
 	  ports. If unsure, say N.

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

end of thread, other threads:[~2005-12-11 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-06  0:55 [2.6 patch] simplify PARPORT_PC_PCMCIA dependencies Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-12-11 21:54 Adrian Bunk
2004-01-12  2:29 Adrian Bunk

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.