Skip to contentSkip to conversation

UIO: Review of drivers/uio/Kconfig

PATCH New Hans J. Koch 2 participants 2 messages Feb 9, 2010 – Feb 11, 2010 Userspace I/O (UIO)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 UIO: Review of drivers/uio/Kconfig

Two trivial fixes for the Userspace IO Kconfig file:
1) uio_sercos3 is a PCI driver, so let it depend on PCI.
2) "default n" under UIO_PCI_GENERIC is luxury since it is already the default.

---
 drivers/uio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/uio/Kconfig +1 -1
Index: linux-2.6.33-rc/drivers/uio/Kconfig
===================================================================
@@ -74,6 +74,7 @@
 
 config UIO_SERCOS3
 	tristate "Automata Sercos III PCI card driver"
+	depends on PCI
 	help
 	  Userspace I/O interface for the Sercos III PCI card from
 	  Automata GmbH. The userspace part of this driver will be
@@ -87,7 +88,6 @@
 config UIO_PCI_GENERIC
 	tristate "Generic driver for PCI 2.3 and PCI Express cards"
 	depends on PCI
-	default n
 	help
 	  Generic driver that you can bind, dynamically, to any
 	  PCI 2.3 compliant and PCI Express card. It is useful,
#1 lore raw

PATCH 1/1 UIO: Review of drivers/uio/Kconfig

Two trivial fixes for the Userspace IO Kconfig file:
1) uio_sercos3 is a PCI driver, so let it depend on PCI.
2) "default n" under UIO_PCI_GENERIC is luxury since it is already the default.

---
 drivers/uio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/uio/Kconfig +1 -1
Index: linux-2.6.33-rc/drivers/uio/Kconfig
===================================================================
@@ -74,6 +74,7 @@
 
 config UIO_SERCOS3
 	tristate "Automata Sercos III PCI card driver"
+	depends on PCI
 	help
 	  Userspace I/O interface for the Sercos III PCI card from
 	  Automata GmbH. The userspace part of this driver will be
@@ -87,7 +88,6 @@
 config UIO_PCI_GENERIC
 	tristate "Generic driver for PCI 2.3 and PCI Express cards"
 	depends on PCI
-	default n
 	help
 	  Generic driver that you can bind, dynamically, to any
 	  PCI 2.3 compliant and PCI Express card. It is useful,