Linux 2.6.13-rc2 treats RBC devices differently than before. (RBC: Reduced
Block Command set for logical block devices, commonly seen implemented by
SBP-2 harddisks.) Among else, the hotplug helpers now get to read type 14
from sysfs for RBC devices instead of type 0.

The patch updates scsi.agent's device types and re-enables autoloading of
sd_mod for SBP-2 devices under Linux 2.6.13-rc2.

Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>

Index: etc/hotplug/scsi.agent
===================================================================
RCS file: /cvsroot/linux-hotplug/admin/etc/hotplug/scsi.agent,v
retrieving revision 1.9
diff -u -r1.9 scsi.agent
--- etc/hotplug/scsi.agent      19 Jan 2005 17:42:46 -0000      1.9
+++ etc/hotplug/scsi.agent      13 Jul 2005 23:41:59 -0000
@@ -50,7 +50,9 @@
     7)         TYPE=mod ; MODULE=sd_mod ;;
     8)         TYPE=changer ;;
     9)         TYPE=comm ;;
-    14)                TYPE=enclosure ;;
+    12)                TYPE=raid ;;
+    13)                TYPE=enclosure ;;
+    14)                TYPE=rbc-disk ;  MODULE=sd_mod ;;
     esac
     if [ "$MODULE" != "" ]; then
        mesg "$TYPE at $DEVPATH"

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to