]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ppc64: Added definition of viomajortype_scsi, from Dave Boutcher
authorAndrew Morton <akpm@osdl.org>
Thu, 5 Feb 2004 05:19:39 +0000 (21:19 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 5 Feb 2004 05:19:39 +0000 (21:19 -0800)
From: anton@samba.org

Added definition of viomajortype_scsi so drivers/scsi/iSeries_vscsi will
compile

include/asm-ppc64/iSeries/vio.h

index 779c5668034960bea6088bf23263c21c68b8603a..0ef098c4efe245d426cd04c5d1ec0feb2d7b2941 100644 (file)
@@ -49,7 +49,7 @@
  * in.  We use a table to route these, and this defines
  * the maximum number of distinct subtypes
  */
-#define VIO_MAX_SUBTYPES 7
+#define VIO_MAX_SUBTYPES 8
 
 /* Each subtype can register a handler to process their events.
  * The handler must have this interface.
@@ -103,7 +103,8 @@ enum viosubtypes {
        viomajorsubtype_chario = 0x0300,
        viomajorsubtype_config = 0x0400,
        viomajorsubtype_cdio = 0x0500,
-       viomajorsubtype_tape = 0x0600
+       viomajorsubtype_tape = 0x0600,
+       viomajorsubtype_scsi = 0x0700
 };