History log of /drivers/scsi/gdth.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
90802ed9c3dbab2e067bd9fc67a30e66e6774e8f 05-Dec-2011 Paul Bolle <pebolle@tiscali.nl> treewide: Fix comment and string typo 'bufer'

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
/drivers/scsi/gdth.h
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
/drivers/scsi/gdth.h
1fe6dbf4d0afba52ad0249f398e6296a1433a004 04-Jan-2010 Dave Jones <davej@redhat.com> [SCSI] gdth: Convert to use regular kernel types.

converted using this script..

perl -p -i -e 's|ulong32|u32|g' drivers/scsi/gdth*
perl -p -i -e 's|ulong64|u64|g' drivers/scsi/gdth*
perl -p -i -e 's|ushort|u16|g' drivers/scsi/gdth*
perl -p -i -e 's|unchar|u8|g' drivers/scsi/gdth*
perl -p -i -e 's|ulong|unsigned long|g' drivers/scsi/gdth*
perl -p -i -e 's|PACKED|__attribute__((packed))|g' drivers/scsi/gdth*

sha1sum of the generated code was identical before and after.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/gdth.h
242f9dcb8ba6f68fcd217a119a7648a4f69290e9 14-Sep-2008 Jens Axboe <jens.axboe@oracle.com> block: unify request timeout handling

Right now SCSI and others do their own command timeout handling.
Move those bits to the block layer.

Instead of having a timer per command, we try to be a bit more clever
and simply have one per-queue. This avoids the overhead of having to
tear down and setup a timer for each command, so it will result in a lot
less timer fiddling.

Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/drivers/scsi/gdth.h
4c9c8d782c8dddc5e97d33210e8a993cec6bc168 16-Feb-2008 Jeff Garzik <jeff@garzik.org> [SCSI] gdth: PCI probe cleanups, prep for PCI hotplug API conversion

- Reduce uses of gdth_pci_str::pdev, preferring a local variable
(or function arg) 'pdev' instead.

- Reduce uses of gdth_pcistr array, preferring local variable
(or function arg) 'pcistr' instead.

- Eliminate lone use of gdth_pci_str::irq, using equivalent
pdev->irq instead

- Eliminate assign-only gdth_pci_str::io_mm

Note: If the indentation seems weird, that's because a line was
converted from spaces to tabs, when it was modified.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
/drivers/scsi/gdth.h
ee54cc6af95a7fa09da298493b853a9e64fa8abd 28-Feb-2008 Boaz Harrosh <bharrosh@panasas.com> [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>
/drivers/scsi/gdth.h
3892d88ae6fb186ff6205f764213b556d70800b0 02-Oct-2007 Boaz Harrosh <bharrosh@panasas.com> [SCSI] gdth: !use_sg cleanup and use of scsi accessors

gdth_execute() will issue an internal, none scsi-standard commands
onto __gdth_queuecommand(). Since it is not recommended to set
struct scsi_cmnd IO members in llds, gdth now uses internal IO
members for IO. In the case of gdth_execute() these members will be
set properly. In case the command was issued from scsi-ml
(by gdth_queuecommand) they will be set from scsi IO accessors.

* define gdth IO accessors and use them throughout the driver.
* use an sg-of-one in gdth_execute() and fix gdth_special_cmd()
accordingly.
* Clean the not use_sg code path and company

Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
f842b64e0ffbcc9ce48a3bf799d0b005094107c1 02-Oct-2007 Boaz Harrosh <bharrosh@panasas.com> [SCSI] gdth: Move members from SCp to gdth_cmndinfo, stage 2

- Cleanup the rest of the scsi_cmnd->SCp members and move them
to gdth_cmndinfo:
SCp.this_residual => priority
SCp.buffers_residual => timeout
SCp.Status => status and dma_dir
SCp.Message => info
SCp.have_data_in => volatile wait_for_completion
SCp.sent_command => OpCode
SCp.phase => phase

- Two more members will be naturally removed in the !use_sg cleanup

TODO: What is the meaning of gdth_cmndinfo.phase? (rhetorically)

Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
3058d5de47ce09ac0e531290566937c7d94d0653 02-Oct-2007 Boaz Harrosh <bharrosh@panasas.com> [SCSI] gdth: Setup proper per-command private data

- scsi_cmnd and specifically ->SCp of, where heavily abused
with internal meaning members and flags. So introduce a new
struct gdth_cmndinfo, put it on ->host_scribble and define a
gdth_cmnd_priv() accessor to retrieve it from a scsi_cmnd.

- The structure now holds two members:
internal_command - replaces the IS_GDTH_INTERNAL_CMD() croft.
sense_paddr - which was a 64-bit spanning on 2 32-bit members of SCp.
More overloaded members from SCp and scsi_cmnd will be moved in a later
patch (For easy review).

- Split up gdth_queuecommand to an additional internal_function. The later
is the one called by gdth_execute(). This will be more evident later in
the scsi accessors patch, but it also facilitates in the differentiation
between internal_command and external. And the setup of gdth_cmndinfo of
each command.

Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89 02-Oct-2007 Christoph Hellwig <hch@lst.de> [SCSI] gdth: switch to modern scsi host registration

- Use scsi_add_host and friends and track instances ourselves. And
generally modernize the driver's structure.

- TODO: Next we can remove the controller table
- TODO: Fix use of deprecated pci_find_device()

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
45f1a41b2b2e02e91d29bde66a8da4d050959f65 02-Oct-2007 Boaz Harrosh <bharrosh@panasas.com> [SCSI] gdth: clean up host private data

- Based on same patch from Christoph Hellwig <hch@lst.de>

- Get rid of all the indirection in the Scsi_Host private data and always
put the gdth_ha_str directly into it.

- Change all internal functions prototype to recieve an "gdth_ha_str *ha"
pointer directlly and kill all that redundent access to the "gdth_ctr_tab[]"
controller-table.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
8d7a5da4fc95cb6210cd66e7c886161e10a1307f 02-Oct-2007 Jeff Garzik <jeff@garzik.org> [SCSI] gdth: Remove 2.4.x support, in-kernel changelog

* Remove in-source changelog. It's archived permanently in git and
various kernel archives, and changelogs should exist purely in git.

* Remove 2.4.x kernel support. It is an active obstacle to
modernizing this driver, at this point. This includes killing
gdth_kcompat.h which is 100% redundant in modern kernels.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
8e9a8a0d56c5d9d87adbefbbc8c8728c529fd95a 17-Jul-2007 Jeff Garzik <jeff@garzik.org> [SCSI] gdth: remove redundant PCI stuff

This patch

* removes struct members that duplicate pci_dev members
* replaces ha->stype usage with ha->pdev->device usage where feasible

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: Achim Leubner <Achim_Leubner@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
c03d10ab6aafe6706520e1595d6e91d0e50ac5ad 26-Sep-2006 Michal Piotrowski <michal.k.k.piotrowski@gmail.com> [SCSI] drivers/scsi/gdth.h: removal of old scsi code

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
cbd5f69b98bb5d7a0d207230bcf8fa51fca3f3cf 09-Jun-2006 Leubner, Achim <Achim_Leubner@adaptec.com> [SCSI] remove the scsi_request interface from the gdth driver

Initial pass at converting the gdth driver away from the scsi_request
interface so that the request interface can be removed post 2.6.18
without breaking gdth. Based on changes from Christoph Hellwig
<hch@lst.de>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
f64a181d898e0518d5ae90c4870069510de977e1 31-Oct-2005 Christoph Hellwig <hch@lst.de> [SCSI] remove Scsi_Device typedef

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
8e8790415e91964096f862a58cacb55d2bc9a817 17-Apr-2005 <bunk@stusta.de> [PATCH] drivers/scsi/gdth.c: cleanups

This patch contains the following cleanups:
- make some needlessly global functions static
- remove one more kernel 2.2 #ifdef

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
/drivers/scsi/gdth.h
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
/drivers/scsi/gdth.h