diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-10-31 20:42:50 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-31 20:42:50 -0800 |
| commit | 63b367a492da0daedfcb0c9065e7a96f8cbda9fc (patch) | |
| tree | ed514aa07c0a587db1e36b0355f7f088238576b0 | |
| parent | e97ba4830f918c9ad4423ab56ac0c7dfc1e06260 (diff) | |
Make presense of old/style EH routines cause warnings, not
a compile failure.
| -rw-r--r-- | drivers/scsi/hosts.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/hosts.h b/drivers/scsi/hosts.h index 96a73d9c3f72..5c2f7f7e6a85 100644 --- a/drivers/scsi/hosts.h +++ b/drivers/scsi/hosts.h @@ -191,6 +191,13 @@ typedef struct SHT int (*eh_host_reset_handler)(Scsi_Cmnd *); /* + * Old EH handlers, no longer used. Make them warn the user of old + * drivers by using a wrogn type + */ + int (*abort)(int); + int (*reset)(int,int); + + /* * Once the device has responded to an INQUIRY and we know the device * is online, call into the low level driver with the Scsi_Device * * (so that the low level driver may save it off in a safe location |
