<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/ide/icside.c, branch v3.0.63</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.0.63</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.0.63'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2010-03-03T07:57:59Z</updated>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6</title>
<updated>2010-03-03T07:57:59Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-03-03T07:57:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc'/>
<id>urn:sha1:950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ide: change -&gt;set_dma_mode method parameters</title>
<updated>2010-01-19T09:45:29Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-19T09:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8776168ca2151850164af1de5565d01f7b8b2c53'/>
<id>urn:sha1:8776168ca2151850164af1de5565d01f7b8b2c53</id>
<content type='text'>
Change -&gt;set_dma_mode method parameters to match -&gt;set_dmamode method
used in struct ata_port_operations.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>icside: bring back -&gt;maskproc method</title>
<updated>2010-01-12T09:49:23Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-05T07:07:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f75d4a238770d83d3a0475ce7f34e3fa37de161e'/>
<id>urn:sha1:f75d4a238770d83d3a0475ce7f34e3fa37de161e</id>
<content type='text'>
Bring back -&gt;maskproc method since it is still needed for proper operation,
as noticed by Russell King:

&gt; This change is bogus.
&gt;
&gt;         writeb(0, base + ICS_ARCIN_V6_INTROFFSET_1);
&gt;         readb(base + ICS_ARCIN_V6_INTROFFSET_2);
&gt;
&gt;         writeb(0, base + ICS_ARCIN_V6_INTROFFSET_2);
&gt;         readb(base + ICS_ARCIN_V6_INTROFFSET_1);
&gt;
&gt; This sequence of code does:
&gt;
&gt; 1. enable interrupt 1
&gt; 2. disable interrupt 2
&gt; 3. enable interrupt 2
&gt; 4. disable interrupt 1
&gt;
&gt; which results in the interrupt for the second channel being enabled -
&gt; leaving channel 1 blocked.
&gt;
&gt; Firstly, icside shares its two IDE channels with one DMA engine - so it's
&gt; a simplex interface.  IDE supports those (or did when the code was written)
&gt; serializing requests between the two interfaces.  libata does not.
&gt;
&gt; Secondly, the interrupt lines on icside float when there's no drive connected
&gt; or when the drive has its NIEN bit set, which means that you get spurious
&gt; screaming interrupts which can kill off all expansion card interrupts on
&gt; the machine unless you disable the channel interrupt on the card.
&gt;
&gt; Since libata can not serialize the operation of the two channels like IDE
&gt; can, the libata version of the icside driver does not contain the interrupt
&gt; stearing logic.  Instead, it looks at the status after reset, and if
&gt; nothing was found on that channel, it masks the interrupt from that
&gt; channel.

This patch reverts changes done in commit dff8817 (I became confused due to
non-standard &amp; undocumented -&gt;maskproc method, anyway sorry about that).

Noticed-by: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ide: do not access ide_drive_t 'drive_data' field directly</title>
<updated>2009-06-15T20:13:44Z</updated>
<author>
<name>Joao Ramos</name>
<email>joao.ramos@inov.pt</email>
</author>
<published>2009-06-15T20:13:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5bfb151f1f565e6082304a30e8c81dfb6ed0b0c8'/>
<id>urn:sha1:5bfb151f1f565e6082304a30e8c81dfb6ed0b0c8</id>
<content type='text'>
Change ide_drive_t 'drive_data' field from 'unsigned int' type to 'void *'
type, allowing a wider range of values/types to be stored in this field.

Added 'ide_get_drivedata' and 'ide_set_drivedata' helpers to get and set
the 'drive_data' field.

Fixed all host drivers to maintain coherency with the change in the
'drive_data' field type.

Signed-off-by: Joao Ramos &lt;joao.ramos@inov.pt&gt;
[bart: fix qd65xx build, cast to 'unsigned long', minor Coding Style fixups]
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.montavista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>icside: remove superfluous -&gt;maskproc method</title>
<updated>2009-06-07T13:37:06Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-06-07T13:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=dff8817b78e6e6a4913f2caf7637d62dcc49a03c'/>
<id>urn:sha1:dff8817b78e6e6a4913f2caf7637d62dcc49a03c</id>
<content type='text'>
[inspired by pata_icside]

Enabling/disabling of card IRQs is handled fine by IRQ and IDE
subsystems so there is no need for custom -&gt;maskproc method.

Moreover icside_maskproc() would enable IRQ only if it was already
enabled [because of 'if (state-&gt;enabled &amp;&amp; !mask)' check].

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: remove hw_regs_t typedef</title>
<updated>2009-05-17T17:12:25Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-17T17:12:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9f36d31437922354d104a2db407f397e79e4027e'/>
<id>urn:sha1:9f36d31437922354d104a2db407f397e79e4027e</id>
<content type='text'>
Remove hw_regs_t typedef and rename struct hw_regs_s to struct ide_hw.

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: pass number of ports to ide_host_{alloc,add}() (v2)</title>
<updated>2009-05-17T17:12:24Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-17T17:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=dca3983059a4481e4ae97bbf0ac4b4c21429e1a5'/>
<id>urn:sha1:dca3983059a4481e4ae97bbf0ac4b4c21429e1a5</id>
<content type='text'>
Pass number of ports to ide_host_{alloc,add}() and then update
all users accordingly.

v2:
- drop no longer needed NULL initializers in buddha.c, cmd640.c and gayle.c
  (noticed by Sergei)

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: remove chipset field from hw_regs_t</title>
<updated>2009-05-17T17:12:22Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-05-17T17:12:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=29e52cf793ded6bece50de50e738596f94f07d9f'/>
<id>urn:sha1:29e52cf793ded6bece50de50e738596f94f07d9f</id>
<content type='text'>
* Convert host drivers that still use hw_regs_t's chipset field to use
  the one in struct ide_port_info instead.

* Move special handling of ide_pci chipset type from ide_hw_configure()
  to ide_init_port().

* Remove chipset field from hw_regs_t.

While at it:
- remove stale comment in delkin_cb.c

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>icside: register second channel of version 6 PCB</title>
<updated>2009-05-16T17:03:36Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sshtylyov@ru.mvista.com</email>
</author>
<published>2009-05-16T17:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b019447ce73513432af052f30fa239d6dc93e111'/>
<id>urn:sha1:b019447ce73513432af052f30fa239d6dc93e111</id>
<content type='text'>
The second IDE channel of version 6 PCB is not being registered anymore since
the commit 48c3c1072651922ed153bcf0a33ea82cf20df390 (ide: add struct ide_host
(take 3)).

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: set/clear drive-&gt;waiting_for_dma flag in the core code</title>
<updated>2009-03-31T18:15:22Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-03-31T18:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=88b4132e101e60e8fa67996ae3072ab6b71e8500'/>
<id>urn:sha1:88b4132e101e60e8fa67996ae3072ab6b71e8500</id>
<content type='text'>
Set/clear drive-&gt;waiting_for_dma flag in the core code
instead of in -&gt;dma_setup and -&gt;dma_end methods.

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
