Boaz Harrosh ee54cc6af9 [SCSI] gdth: fix to internal commands execution
The recent patch named:
  [SCSI] gdth: !use_sg cleanup and use of scsi accessors

has done a bad job in handling internal commands issued by gdth_execute().

Internal commands are issued with device gdth_cmd_str ready made directly
to the card, without any mapping or translations of scsi commands. So here
I added a gdth_cmd_str pointer to the gdth_cmndinfo private structure which
is then copied directly to host.

following this patch is a cleanup that removes the home cooked accessors
and reverts them to regular scsi_cmnd accessors. Since they are not used
anymore. After review maybe the 2 patches should be squashed together.

FIXME: There is still a problem with gdth_get_info(). as reported there
   is a WARN_ON trigerd in dma_free_coherent() when doing:
   $ cat /proc/sys/gdth/0

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Tested-by: Joerg Dorchain: <joerg@dorchain.net>
Tested-by: Stefan Priebe <s.priebe@allied-internet.ag>
Tested-by: Jon Chelton <jchelton@ffpglobal.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-02-27 15:54:26 -08:00
..
2007-04-01 10:10:04 -05:00
2008-02-22 17:15:35 -06:00
2008-01-11 18:22:30 -06:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-02-06 10:41:01 -08:00
2006-09-12 17:12:31 -05:00
2008-02-06 10:41:01 -08:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-01-25 09:22:12 -06:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-02-06 10:41:01 -08:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-01-11 18:27:59 -06:00
2007-05-31 17:30:04 -04:00
2008-01-30 13:03:40 -06:00
2008-01-30 13:14:02 -06:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2008-01-30 13:14:02 -06:00
2007-10-19 11:53:42 -07:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-02-23 09:07:32 -06:00
2008-02-19 11:36:35 +01:00
2007-07-18 11:16:32 -05:00
2008-02-03 17:28:22 +02:00
2008-02-07 18:02:42 -06:00
2008-02-18 08:57:15 -06:00
2008-02-07 19:09:22 -08:00
2007-07-14 19:12:15 -05:00
2008-02-07 18:02:44 -06:00
2008-02-07 18:02:44 -06:00
2007-05-31 17:30:04 -04:00
2006-11-15 16:43:50 -06:00
2008-01-30 13:14:02 -06:00
2007-10-19 23:22:55 +02:00
2008-01-30 13:14:02 -06:00