Skip to contentSkip to conversation

Make SCSI SG v4 driver enabled by default now since udev depends on it.

PATCH In review John Stoffel 2 participants 3 messages Jul 7, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make SCSI SG v4 driver enabled by default now since udev depends on it.

---
 block/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
block/Kconfig +3 -3
index e7d1278..22bf6eb 100644
@@ -46,8 +46,8 @@ config LBD
 
 config BLK_DEV_BSG
 	bool "Block layer SG support v4 (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
-	---help---
+	default y
+	help
 	  Saying Y here will enable generic SG (SCSI generic) v4 support
 	  for any block device.
 
@@ -57,7 +57,7 @@ config BLK_DEV_BSG
 	  protocols (e.g. Task Management Functions and SMP in Serial
 	  Attached SCSI).
 
-	  If unsure, say N.
+	  If unsure, say Y.
 
 config BLK_DEV_INTEGRITY
 	bool "Block layer data integrity support"
Signature · 1 line
1.6.3.3
#1 lore raw

block/Kconfig config LBD · line 48

Quoted 13 lines · John Stoffel
---
 block/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
block/Kconfig +0 -0
index e7d1278..22bf6eb 100644
@@ -46,8 +46,8 @@ config LBD
 
 config BLK_DEV_BSG
 	bool "Block layer SG support v4 (EXPERIMENTAL)"

Please also remove the (EXPERIMENTAL) from the prompt as well

Quoted 8 lines
block/Kconfig +2 -2
-	depends on EXPERIMENTAL
-	---help---
+	default y
+	help
 	  Saying Y here will enable generic SG (SCSI generic) v4 support
 	  for any block device.
 

block/Kconfig config BLK_DEV_BSG · line 63

Quoted 8 lines
block/Kconfig +1 -1
@@ -57,7 +57,7 @@ config BLK_DEV_BSG
 	  protocols (e.g. Task Management Functions and SMP in Serial
 	  Attached SCSI).
 
-	  If unsure, say N.
+	  If unsure, say Y.
 
 config BLK_DEV_INTEGRITY
 	bool "Block layer data integrity support"

Thanks I needed that too.

BTW distro(s) have been shipping with it on for ages

Boaz

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Boaz" == Boaz Harrosh <[email protected]> writes:

Quoted 5 lines · John Stoffel
Quoted 5 lines

---
block/Kconfig | 6 +++---

1 files changed, 3 insertions(+), 3 deletions(-)
Quoted 8 lines
Quoted 8 lines
block/Kconfig +0 -0
index e7d1278..22bf6eb 100644
@@ -46,8 +46,8 @@ config LBD
 

config BLK_DEV_BSG
bool "Block layer SG support v4 (EXPERIMENTAL)"

Boaz> Please also remove the (EXPERIMENTAL) from the prompt as well

Duh... sorry for this oversight. I'll respin the patch ASAP.

Quoted 11 lines
Quoted 11 lines
block/Kconfig +2 -2
-	depends on EXPERIMENTAL
-	---help---
+	default y
+	help

Saying Y here will enable generic SG (SCSI generic) v4 support for any block device.

block/Kconfig +0 -0
@@ -57,7 +57,7 @@ config BLK_DEV_BSG

protocols (e.g. Task Management Functions and SMP in Serial Attached SCSI).

Quoted 5 lines
Quoted 5 lines
block/Kconfig +1 -1
-	  If unsure, say N.
+	  If unsure, say Y.

config BLK_DEV_INTEGRITY
bool "Block layer data integrity support"

Boaz> Thanks I needed that too.

Boaz> BTW distro(s) have been shipping with it on for ages

I ran into this since I was trying to get Udev to properly find and name my tape drives, and it wasn't until I finally figured out that BSG wasn't enabled on any of my systems that I got around to getting it working properly.

I've also put in a patch to the UDEV people to mention that this should be turned on to make Udev work properly.

John