Commit 973ab2f4 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[PATCH] cciss: add cmd_type to sendcmd parameters

Patch from Stephen Cameron <steve.cameron@hp.com>

* add cmd_type to sendcmd parameters to allow scsi messages to be
  sent down.
* factor out duplicated code into fill_cmd function.
parent f51e4f73
This diff is collapsed.
...@@ -47,7 +47,8 @@ static int sendcmd( ...@@ -47,7 +47,8 @@ static int sendcmd(
2: address is in scsi3addr */ 2: address is in scsi3addr */
unsigned int log_unit, unsigned int log_unit,
__u8 page_code, __u8 page_code,
unsigned char *scsi3addr ); unsigned char *scsi3addr,
int cmd_type);
int __init cciss_scsi_detect(Scsi_Host_Template *tpnt); int __init cciss_scsi_detect(Scsi_Host_Template *tpnt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment