patch-2.2.16 linux/drivers/scsi/esp.c
Next file: linux/drivers/scsi/esp.h
Previous file: linux/drivers/scsi/aha152x.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Wed Jun 7 14:26:43 2000
- Orig file:
v2.2.15/linux/drivers/scsi/esp.c
- Orig date:
Wed May 3 17:16:44 2000
diff -urN v2.2.15/linux/drivers/scsi/esp.c linux/drivers/scsi/esp.c
@@ -4316,6 +4316,13 @@
}
#endif
+int esp_revoke(Scsi_Device* SDptr)
+{
+ struct Sparc_ESP *esp = (struct Sparc_ESP *) SDptr->host->hostdata;
+ esp->targets_present &= ~(1 << SDptr->id);
+ return 0;
+}
+
#ifdef MODULE
Scsi_Host_Template driver_template = SCSI_SPARC_ESP;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)