<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/ide/ide.c, branch v2.6.24</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>ide: fix -&gt;io_32bit race in set_io_32bit()</title>
<updated>2007-12-12T22:32:00+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-12-12T22:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=644a9d764b4747af057b3db73ccba28a168b1f4f'/>
<id>644a9d764b4747af057b3db73ccba28a168b1f4f</id>
<content type='text'>
set_io_32bit() (ide_procset_t function) can race against running
PIO transfers.  Fix it by using ide_spin_wait_hwgroup().

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set_io_32bit() (ide_procset_t function) can race against running
PIO transfers.  Fix it by using ide_spin_wait_hwgroup().

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add /sys/bus/ide/devices/*/{model,firmware,serial} sysfs entries</title>
<updated>2007-12-12T22:31:58+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-12-12T22:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e11b9035a47da66fcd4bafd3a5f6b14f51ca667e'/>
<id>e11b9035a47da66fcd4bafd3a5f6b14f51ca667e</id>
<content type='text'>
Cc: Dan Kegel &lt;dank@kegel.com&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Xavier Bestel &lt;xavier.bestel@free.fr&gt;
Cc: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cc: Dan Kegel &lt;dank@kegel.com&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Xavier Bestel &lt;xavier.bestel@free.fr&gt;
Cc: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: remove write-only hwif-&gt;hw</title>
<updated>2007-10-19T22:32:33+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-19T22:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9239b333939dd1e5b1a9f033a1c136273d58efe8'/>
<id>9239b333939dd1e5b1a9f033a1c136273d58efe8</id>
<content type='text'>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add hwif-&gt;ack_intr hook</title>
<updated>2007-10-19T22:32:32+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-19T22:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=18e181fe13b7340194d09e6dd7f571a5f96f0367'/>
<id>18e181fe13b7340194d09e6dd7f571a5f96f0367</id>
<content type='text'>
* Add hwif-&gt;ack_intr hook and use it instead of hwif-&gt;hw.ack_intr.

* Add missing brackets to cris-v32 and powerpc ide_ack_intr() macros.

Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add hwif-&gt;ack_intr hook and use it instead of hwif-&gt;hw.ack_intr.

* Add missing brackets to cris-v32 and powerpc ide_ack_intr() macros.

Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>icside: use ec-&gt;dma directly</title>
<updated>2007-10-19T22:32:32+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-19T22:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=86f3a492bb09eee5745b93af35f2212179c251fd'/>
<id>86f3a492bb09eee5745b93af35f2212179c251fd</id>
<content type='text'>
* hwif-&gt;hwif_data contains pointer to struct expansion_card so use ec-&gt;dma
  directly instead of caching it in hwif-&gt;hw.dma.

* Remove no longer needed hw_regs_t.dma and NO_DMA define.

Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hwif-&gt;hwif_data contains pointer to struct expansion_card so use ec-&gt;dma
  directly instead of caching it in hwif-&gt;hw.dma.

* Remove no longer needed hw_regs_t.dma and NO_DMA define.

Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: fix ide_register_hw() to check hwif-&gt;io_ports[]</title>
<updated>2007-10-19T22:32:32+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-19T22:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8f173b5bf460a85791c131e774dc992f8cd578c1'/>
<id>8f173b5bf460a85791c131e774dc992f8cd578c1</id>
<content type='text'>
hwif-&gt;hw.io_ports[] and hwif-&gt;io_ports[] should be the same but "4drives"
support and scc_pata host driver set only hwif-&gt;io_ports[].

To compensate for this check hwif-&gt;io_ports[] instead of hwif-&gt;hw.io_ports[]
in ide_register_hw() (instead of fixing "4drives" and scc_pata because hwif-&gt;hw
is to be removed).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
hwif-&gt;hw.io_ports[] and hwif-&gt;io_ports[] should be the same but "4drives"
support and scc_pata host driver set only hwif-&gt;io_ports[].

To compensate for this check hwif-&gt;io_ports[] instead of hwif-&gt;hw.io_ports[]
in ide_register_hw() (instead of fixing "4drives" and scc_pata because hwif-&gt;hw
is to be removed).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add ide_find_port() helper</title>
<updated>2007-10-19T22:32:31+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-19T22:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=baa8f3e94bc7a7ba3650d80b67d54c3e08365dee'/>
<id>baa8f3e94bc7a7ba3650d80b67d54c3e08365dee</id>
<content type='text'>
* Add ide_find_port() helper.

* Convert icside, rapide and ide_platform host drivers to use it.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add ide_find_port() helper.

* Convert icside, rapide and ide_platform host drivers to use it.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add ide_device_add()</title>
<updated>2007-10-19T22:32:31+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-19T22:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8447d9d52adbe4c653482bd0d5ccb9b5d26f9c9d'/>
<id>8447d9d52adbe4c653482bd0d5ccb9b5d26f9c9d</id>
<content type='text'>
* Add ide_device_add() helper and convert host drivers to use it
  instead of open-coded variants.

* Make ide_pci_setup_ports() and do_ide_setup_pci_device()
  take 'u8 *idx' argument instead of 'ata_index_t *index'.

* Remove no longer needed ata_index_t.

* Unexport probe_hwif_init() and make it static.

* Unexport ide_proc_register_port().

There should be no functionality changes caused by this patch
(sgiioc4.c: ide_proc_register_port() requires hwif-&gt;present
 to be set and it won't be set if probe_hwif_init() fails).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add ide_device_add() helper and convert host drivers to use it
  instead of open-coded variants.

* Make ide_pci_setup_ports() and do_ide_setup_pci_device()
  take 'u8 *idx' argument instead of 'ata_index_t *index'.

* Remove no longer needed ata_index_t.

* Unexport probe_hwif_init() and make it static.

* Unexport ide_proc_register_port().

There should be no functionality changes caused by this patch
(sgiioc4.c: ide_proc_register_port() requires hwif-&gt;present
 to be set and it won't be set if probe_hwif_init() fails).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add -&gt;fixup method to ide_hwif_t</title>
<updated>2007-10-19T22:32:31+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-19T22:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=fd9bb53942a7ca3398a63f2c238afd8fbed3ec0e'/>
<id>fd9bb53942a7ca3398a63f2c238afd8fbed3ec0e</id>
<content type='text'>
* Add -&gt;fixup method to ide_hwif_t.

* Set hwif-&gt;fixup in ide_pci_setup_ports() to d-&gt;fixup.

* Use hwif-&gt;fixup in probe_hwif().

* Use probe_hwif_init() instead of probe_hwif_init_with_fixup() in
  ide_setup_pci_device().

* Add 'fixup' argument to ide_register_hw() and use it to set hwif-&gt;fixup,
  update all ide_register_hw() users accordingly.

* Convert ide-cs/delkin_cb host drivers to use ide_register_hw().

* Restore hwif-&gt;fixup in ide_hwif_restore().

* Remove ide_register_hw_with_fixup(), probe_hwif_init_with_fixup()
  and 'fixup' argument from probe_hwif().

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add -&gt;fixup method to ide_hwif_t.

* Set hwif-&gt;fixup in ide_pci_setup_ports() to d-&gt;fixup.

* Use hwif-&gt;fixup in probe_hwif().

* Use probe_hwif_init() instead of probe_hwif_init_with_fixup() in
  ide_setup_pci_device().

* Add 'fixup' argument to ide_register_hw() and use it to set hwif-&gt;fixup,
  update all ide_register_hw() users accordingly.

* Convert ide-cs/delkin_cb host drivers to use ide_register_hw().

* Restore hwif-&gt;fixup in ide_hwif_restore().

* Remove ide_register_hw_with_fixup(), probe_hwif_init_with_fixup()
  and 'fixup' argument from probe_hwif().

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add IDE_HFLAG_NO_LBA48 and IDE_HFLAG_NO_LBA48_DMA host flags</title>
<updated>2007-10-18T22:30:07+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-10-18T22:30:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=238e4f142c33bb34440cc64029dde7b9fbc4e65f'/>
<id>238e4f142c33bb34440cc64029dde7b9fbc4e65f</id>
<content type='text'>
Add IDE_HFLAG_NO_LBA48[_DMA] host flags, use it instead of hwif-&gt;no_lba48[_dma]
and then remove no longer needed hwif-&gt;no_lba48[_dma].  As a side-effect
this change fixes hwif-&gt;no_lba48_dma not being restored by ide_hwif_restore().

Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add IDE_HFLAG_NO_LBA48[_DMA] host flags, use it instead of hwif-&gt;no_lba48[_dma]
and then remove no longer needed hwif-&gt;no_lba48[_dma].  As a side-effect
this change fixes hwif-&gt;no_lba48_dma not being restored by ide_hwif_restore().

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