瀏覽代碼

parport_pc: disable PARPORT_PC_SUPERIO on parisc architecture

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>
Helge Deller 12 年之前
父節點
當前提交
c218c713c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/parport/Kconfig

+ 1 - 1
drivers/parport/Kconfig

@@ -71,7 +71,7 @@ config PARPORT_PC_FIFO
 
 
 config PARPORT_PC_SUPERIO
 config PARPORT_PC_SUPERIO
 	bool "SuperIO chipset support"
 	bool "SuperIO chipset support"
-	depends on PARPORT_PC
+	depends on PARPORT_PC && !PARISC
 	help
 	help
 	  Saying Y here enables some probes for Super-IO chipsets in order to
 	  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
 	  find out things like base addresses, IRQ lines and DMA channels.  It