[i2c] [PATCH] i2c-floppy: Mutually exclusive with the PC floppy driver

Jean Delvare khali at linux-fr.org
Mon Aug 18 21:03:06 CEST 2008


Make sure that the i2c-floppy and floppy drivers can't both be built
into the kernel.

Also tag i2c-floppy EXPERIMENTAL for now, it's a new driver that did
not see much testing yet.

Signed-off-by: Jean Delvare <khali at linux-fr.org>
Cc: Herbert Poetzl <herbert at 13thfloor.at>
---
 drivers/i2c/busses/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.27-rc3.orig/drivers/i2c/busses/Kconfig	2008-08-18 19:54:54.000000000 +0200
+++ linux-2.6.27-rc3/drivers/i2c/busses/Kconfig	2008-08-18 20:58:01.000000000 +0200
@@ -508,6 +508,7 @@ config I2C_FLOPPY
 	tristate "Floppy controller adapter"
 	select I2C_ALGOBIT
 	default n
+	depends on !BLK_DEV_FD && EXPERIMENTAL
 	help
 	  This supports a simple do-it-yourself floppy controller to
 	  I2C adapters using the motor control lines for SDA and SCL,


-- 
Jean Delvare



More information about the i2c mailing list