[PATCH] scsi.c Medium changer patch

Perry Harrington (pedward@sun4.apsoft.com)
Sat, 25 Jul 1998 12:52:10 -0700 (PDT)


Linus,

This just adds medium changers to the switch statement so that they
will have an appropriately initialized RW flag. I got tired of the
kernel spitting out "unknown type: 8" on boot.

--Perry

--- scsi.c.old Sat Jul 25 00:05:21 1998
+++ scsi.c Sat Jul 25 00:08:55 1998
@@ -750,6 +750,7 @@
case TYPE_MOD:
case TYPE_PROCESSOR:
case TYPE_SCANNER:
+ case TYPE_MEDIUM_CHANGER:
SDpnt->writeable = 1;
break;
case TYPE_WORM:

-- 
Perry Harrington       Linux rules all OSes.    APSoft      ()
email: perry@apsoft.com 			Think Blue. /\

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html