diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-20 14:04:34 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 15:46:37 -0400 |
commit | d25cf1ced9d446dcd3fd399e15b518fea936f3ed (patch) | |
tree | c61f43c27873e5503e3584d558153e4d48244d42 /drivers | |
parent | af13cbebb27aaa9cae0bd18cf2608a3d4dd5fa94 (diff) |
[SCSI] sgiwd93: small fixes
Move the remaining bits of sgiwd93.h into sgiwd93.c; replace the use of
CMD_PER_LUN and CAN_QUEUE by raw numbers.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sgiwd93.c | 5 | ||||
-rw-r--r-- | drivers/scsi/sgiwd93.h | 24 |
2 files changed, 2 insertions, 27 deletions
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index a5ba2c692752..09fd203e4b86 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include "scsi.h" | 33 | #include "scsi.h" |
34 | #include <scsi/scsi_host.h> | 34 | #include <scsi/scsi_host.h> |
35 | #include "wd33c93.h" | 35 | #include "wd33c93.h" |
36 | #include "sgiwd93.h" | ||
37 | 36 | ||
38 | #include <linux/stat.h> | 37 | #include <linux/stat.h> |
39 | 38 | ||
@@ -335,10 +334,10 @@ static Scsi_Host_Template driver_template = { | |||
335 | .eh_abort_handler = wd33c93_abort, | 334 | .eh_abort_handler = wd33c93_abort, |
336 | .eh_bus_reset_handler = sgiwd93_bus_reset, | 335 | .eh_bus_reset_handler = sgiwd93_bus_reset, |
337 | .eh_host_reset_handler = wd33c93_host_reset, | 336 | .eh_host_reset_handler = wd33c93_host_reset, |
338 | .can_queue = CAN_QUEUE, | 337 | .can_queue = 16, |
339 | .this_id = 7, | 338 | .this_id = 7, |
340 | .sg_tablesize = SG_ALL, | 339 | .sg_tablesize = SG_ALL, |
341 | .cmd_per_lun = CMD_PER_LUN, | 340 | .cmd_per_lun = 8, |
342 | .use_clustering = DISABLE_CLUSTERING, | 341 | .use_clustering = DISABLE_CLUSTERING, |
343 | }; | 342 | }; |
344 | #include "scsi_module.c" | 343 | #include "scsi_module.c" |
diff --git a/drivers/scsi/sgiwd93.h b/drivers/scsi/sgiwd93.h deleted file mode 100644 index 981d0b7a85d4..000000000000 --- a/drivers/scsi/sgiwd93.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | /* $Id: sgiwd93.h,v 1.5 1998/08/25 09:18:50 ralf Exp $ | ||
2 | * sgiwd93.h: SGI WD93 scsi definitions. | ||
3 | * | ||
4 | * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) | ||
5 | */ | ||
6 | #ifndef _SGIWD93_H | ||
7 | #define _SGIWD93_H | ||
8 | |||
9 | #ifndef CMD_PER_LUN | ||
10 | #define CMD_PER_LUN 8 | ||
11 | #endif | ||
12 | |||
13 | #ifndef CAN_QUEUE | ||
14 | #define CAN_QUEUE 16 | ||
15 | #endif | ||
16 | |||
17 | int sgiwd93_detect(Scsi_Host_Template *); | ||
18 | int sgiwd93_release(struct Scsi_Host *instance); | ||
19 | const char *wd33c93_info(void); | ||
20 | int wd33c93_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | ||
21 | int wd33c93_abort(Scsi_Cmnd *); | ||
22 | int wd33c93_host_reset(Scsi_Cmnd * SCpnt); | ||
23 | |||
24 | #endif /* !(_SGIWD93_H) */ | ||