<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/gdth.h, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-03-31T14:26:23Z</updated>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: Convert to use regular kernel types.</title>
<updated>2010-01-18T16:48:16Z</updated>
<author>
<name>Dave Jones</name>
</author>
<published>2010-01-04T15:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1fe6dbf4d0afba52ad0249f398e6296a1433a004'/>
<id>urn:sha1:1fe6dbf4d0afba52ad0249f398e6296a1433a004</id>
<content type='text'>
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 &lt;davej@redhat.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
</entry>
<entry>
<title>block: unify request timeout handling</title>
<updated>2008-10-09T06:56:13Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2008-09-14T12:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=242f9dcb8ba6f68fcd217a119a7648a4f69290e9'/>
<id>urn:sha1:242f9dcb8ba6f68fcd217a119a7648a4f69290e9</id>
<content type='text'>
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 &lt;andmike@linux.vnet.ibm.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: PCI probe cleanups, prep for PCI hotplug API conversion</title>
<updated>2008-04-07T17:15:36Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2008-02-16T02:35:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c9c8d782c8dddc5e97d33210e8a993cec6bc168'/>
<id>urn:sha1:4c9c8d782c8dddc5e97d33210e8a993cec6bc168</id>
<content type='text'>
- 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-&gt;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 &lt;jgarzik@redhat.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: fix to internal commands execution</title>
<updated>2008-02-27T23:54:26Z</updated>
<author>
<name>Boaz Harrosh</name>
</author>
<published>2008-02-27T23:29:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee54cc6af95a7fa09da298493b853a9e64fa8abd'/>
<id>urn:sha1:ee54cc6af95a7fa09da298493b853a9e64fa8abd</id>
<content type='text'>
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 &lt;bharrosh@panasas.com&gt;
Tested-by: Joerg Dorchain: &lt;joerg@dorchain.net&gt;
Tested-by: Stefan Priebe &lt;s.priebe@allied-internet.ag&gt;
Tested-by: Jon Chelton &lt;jchelton@ffpglobal.com&gt;
Cc: Stable Tree &lt;stable@kernel.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: !use_sg cleanup and use of scsi accessors</title>
<updated>2007-10-12T18:56:13Z</updated>
<author>
<name>Boaz Harrosh</name>
</author>
<published>2007-10-02T21:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3892d88ae6fb186ff6205f764213b556d70800b0'/>
<id>urn:sha1:3892d88ae6fb186ff6205f764213b556d70800b0</id>
<content type='text'>
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 &lt;bharrosh@panasas.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: Move members from SCp to gdth_cmndinfo, stage 2</title>
<updated>2007-10-12T18:56:09Z</updated>
<author>
<name>Boaz Harrosh</name>
</author>
<published>2007-10-02T21:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f842b64e0ffbcc9ce48a3bf799d0b005094107c1'/>
<id>urn:sha1:f842b64e0ffbcc9ce48a3bf799d0b005094107c1</id>
<content type='text'>
  - Cleanup the rest of the scsi_cmnd-&gt;SCp members and move them
    to gdth_cmndinfo:
    SCp.this_residual 	 =&gt; priority
    SCp.buffers_residual =&gt; timeout
    SCp.Status 		 =&gt; status and dma_dir
    SCp.Message 	 =&gt; info
    SCp.have_data_in 	 =&gt; volatile wait_for_completion
    SCp.sent_command 	 =&gt; OpCode
    SCp.phase 		 =&gt; 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 &lt;bharrosh@panasas.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: Setup proper per-command private data</title>
<updated>2007-10-12T18:56:05Z</updated>
<author>
<name>Boaz Harrosh</name>
</author>
<published>2007-10-02T21:14:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3058d5de47ce09ac0e531290566937c7d94d0653'/>
<id>urn:sha1:3058d5de47ce09ac0e531290566937c7d94d0653</id>
<content type='text'>
  - scsi_cmnd and specifically -&gt;SCp of, where heavily abused
    with internal meaning members and flags. So introduce a new
    struct gdth_cmndinfo, put it on -&gt;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 &lt;bharrosh@panasas.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: switch to modern scsi host registration</title>
<updated>2007-10-12T18:55:55Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2007-10-02T21:09:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89'/>
<id>urn:sha1:835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89</id>
<content type='text'>
  - 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 &lt;hch@lst.de&gt;
Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] gdth: clean up host private data</title>
<updated>2007-10-12T18:55:46Z</updated>
<author>
<name>Boaz Harrosh</name>
</author>
<published>2007-10-02T21:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45f1a41b2b2e02e91d29bde66a8da4d050959f65'/>
<id>urn:sha1:45f1a41b2b2e02e91d29bde66a8da4d050959f65</id>
<content type='text'>
  - Based on same patch from Christoph Hellwig &lt;hch@lst.de&gt;

  - 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 &lt;bharrosh@panasas.com&gt;
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
</feed>
