]> git.hungrycats.org Git - linux/commitdiff
Ignore media not-present errors during DV. This caused DV to fail
authorJustin T. Gibbs <gibbs@overdrive.btc.adaptec.com>
Mon, 30 Dec 2002 11:52:55 +0000 (04:52 -0700)
committerJustin T. Gibbs <gibbs@overdrive.btc.adaptec.com>
Mon, 30 Dec 2002 11:52:55 +0000 (04:52 -0700)
on some tape and cdrom devices.

drivers/scsi/aic7xxx/aiclib.c

index 50270d5483fd96aef5dc36e92027bf5b3634caa2..8b9929c58927499ae32aa85e781ff3d8022b2ee2 100644 (file)
@@ -541,12 +541,18 @@ static struct asc_table_entry asc_table[] = {
                        "Rounded parameter") },
 /* DTL WRSOMCAE */{SST(0x39, 0x00, SS_RDEF,
                        "Saving parameters not supported") },
-/* DTL WRSOM    */{SST(0x3A, 0x00, SS_FATAL|ENXIO,
+/* DTL WRSOM    */{SST(0x3A, 0x00, SS_NOP,
                        "Medium not present") },
-/* DT  WR OM    */{SST(0x3A, 0x01, SS_FATAL|ENXIO,
+/* DT  WR OM    */{SST(0x3A, 0x01, SS_NOP,
                        "Medium not present - tray closed") },
-/* DT  WR OM    */{SST(0x3A, 0x02, SS_FATAL|ENXIO,
+/* DT  WR OM    */{SST(0x3A, 0x01, SS_NOP,
                        "Medium not present - tray open") },
+/* DT  WR OM    */{SST(0x3A, 0x03, SS_NOP,
+                       "Medium not present - Loadable") },
+/* DT  WR OM    */{SST(0x3A, 0x04, SS_NOP,
+                       "Medium not present - medium auxiliary "
+                       "memory accessible") },
+/* DT  WR OM    */{SST(0x3A, 0xFF, SS_NOP, NULL) },/* Range 0x05->0xFF */
 /*  TL          */{SST(0x3B, 0x00, SS_RDEF,
                        "Sequential positioning error") },
 /*  T           */{SST(0x3B, 0x01, SS_RDEF,