patch-2.3.99-pre4 linux/drivers/scsi/esp.c
Next file: linux/drivers/scsi/esp.h
Previous file: linux/drivers/scsi/dmx3191d.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Mar 30 16:54:54 2000
- Orig file:
v2.3.99-pre3/linux/drivers/scsi/esp.c
- Orig date:
Sun Feb 20 21:12:39 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/drivers/scsi/esp.c linux/drivers/scsi/esp.c
@@ -1,4 +1,4 @@
-/* $Id: esp.c,v 1.92 2000/02/18 13:49:58 davem Exp $
+/* $Id: esp.c,v 1.94 2000/03/30 02:09:10 davem Exp $
* esp.c: EnhancedScsiProcessor Sun SCSI driver code.
*
* Copyright (C) 1995, 1998 David S. Miller (davem@caip.rutgers.edu)
@@ -4346,6 +4346,13 @@
ESP_INTSON(esp->dregs);
}
spin_unlock_irqrestore(&esp->lock, flags);
+}
+
+int esp_revoke(Scsi_Device* SDptr)
+{
+ struct esp *esp = (struct esp *) SDptr->host->hostdata;
+ esp->targets_present &= ~(1 << SDptr->id);
+ return 0;
}
#ifdef MODULE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)