public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parport_pc: disable PARPORT_PC_SUPERIO on parisc architecture
@ 2013-05-30 16:24 Helge Deller
  0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2013-05-30 16:24 UTC (permalink / raw)
  To: Linux Kernel Development, linux-parisc, James Bottomley

If enabled, CONFIG_PARPORT_PC_SUPERIO scans on PC-like hardware for
various super-io chips by accessing i/o ports in a range which will
crash any parisc hardware at once.

In addition, parisc has it's own incompatible superio chip
(CONFIG_SUPERIO), so if we disable PARPORT_PC_SUPERIO completely for
parisc we can avoid that people by accident enable the parport_pc
superio option too.

Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/drivers/parport/Kconfig b/drivers/parport/Kconfig
index 24e12d4..a505760 100644
--- a/drivers/parport/Kconfig
+++ b/drivers/parport/Kconfig
@@ -71,7 +71,7 @@ config PARPORT_PC_FIFO
 
 config PARPORT_PC_SUPERIO
 	bool "SuperIO chipset support"
-	depends on PARPORT_PC
+	depends on PARPORT_PC && !PARISC
 	help
 	  Saying Y here enables some probes for Super-IO chipsets in order to
 	  find out things like base addresses, IRQ lines and DMA channels.  It

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-30 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 16:24 [PATCH] parport_pc: disable PARPORT_PC_SUPERIO on parisc architecture Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox