<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ide/legacy/macide.c, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-10-21T18:57:23Z</updated>
<entry>
<title>ide: remove useless subdirs from drivers/ide/</title>
<updated>2008-10-21T18:57:23Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-10-21T18:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2bfba3c444fe8b2ab1c38112a89d8f03b61136ca'/>
<id>urn:sha1:2bfba3c444fe8b2ab1c38112a89d8f03b61136ca</id>
<content type='text'>
Suggested-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: include &lt;linux/hdreg.h&gt; only when needed</title>
<updated>2008-10-10T20:39:27Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-10-10T20:39:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3ceca727fe3a38dd8d7a3adf938fefda83eee8af'/>
<id>urn:sha1:3ceca727fe3a38dd8d7a3adf938fefda83eee8af</id>
<content type='text'>
* Include &lt;linux/ata.h&gt; directly in &lt;linux/ide.h&gt;
  instead of through &lt;linux/hdreg.h&gt;.

* Include &lt;linux/hdreg.h&gt; only when needed.

Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add ide_host_add() helper</title>
<updated>2008-07-23T17:55:57Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-07-23T17:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6f904d015262dfa43eb1cecc00b0998b4c3543f2'/>
<id>urn:sha1:6f904d015262dfa43eb1cecc00b0998b4c3543f2</id>
<content type='text'>
Add ide_host_add() helper which does ide_host_alloc()+ide_host_register(),
then convert ide_setup_pci_device[s](), ide_legacy_device_add() and some
host drivers to use it.

While at it:

* Fix ide_setup_pci_device[s](), ide_arm.c, gayle.c, ide-4drives.c,
  macide.c, q40ide.c, cmd640.c and cs5520.c to return correct error value.

* -ENOENT -&gt; -ENOMEM in rapide.c, ide-h8300.c, ide-generic.c, au1xxx-ide.c
  and pmac.c

* -ENODEV -&gt; -ENOMEM in palm_bk3710.c, ide_platform.c and delkin_cb.c

* -1 -&gt; -ENOMEM in ide-pnp.c

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add struct ide_host (take 3)</title>
<updated>2008-07-23T17:55:57Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-07-23T17:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=48c3c1072651922ed153bcf0a33ea82cf20df390'/>
<id>urn:sha1:48c3c1072651922ed153bcf0a33ea82cf20df390</id>
<content type='text'>
* Add struct ide_host which keeps pointers to host's ports.

* Add ide_host_alloc[_all]() and ide_host_remove() helpers.

* Pass 'struct ide_host *host' instead of 'u8 *idx' to
  ide_device_add[_all]() and rename it to ide_host_register[_all]().

* Convert host drivers and core code to use struct ide_host.

* Remove no longer needed ide_find_port().

* Make ide_find_port_slot() static.

* Unexport ide_unregister().

v2:
* Add missing 'struct ide_host *host' to macide.c.

v3:
* Fix build problem in pmac.c (s/ide_alloc_host/ide_host_alloc/)
  (Noticed by Stephen Rothwell).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3)</title>
<updated>2008-07-23T17:55:50Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-07-23T17:55:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c97c6aca75fd5f718056fde7cff798b8cbdb07c0'/>
<id>urn:sha1:c97c6aca75fd5f718056fde7cff798b8cbdb07c0</id>
<content type='text'>
* Add 'hw_regs_t **hws' argument to ide_device_add[_all]() and convert
  host drivers + ide_legacy_init_one() + ide_setup_pci_device[s]() to use
  it instead of calling ide_init_port_hw() directly.

  [ However if host has &gt; 1 port we must still set hwif-&gt;chipset to hint
    consecutive ide_find_port() call that the previous slot is occupied. ]

* Unexport ide_init_port_hw().

v2:
* Use defines instead of hard-coded values in buddha.c, gayle.c and q40ide.c.
  (Suggested by Geert Uytterhoeven)

* Better patch description.

v3:
* Fix build problem in ide-cs.c. (Noticed by Stephen Rothwell)

There should be no functional changes caused by this patch.

Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: fix hwif-s initialization</title>
<updated>2008-07-16T18:33:39Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-07-16T18:33:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=256c5f8eef7b9a8c8a85c15c58cda9df455f947e'/>
<id>urn:sha1:256c5f8eef7b9a8c8a85c15c58cda9df455f947e</id>
<content type='text'>
* Add ide_hwifs[] entry initialization to ide_find_port_slot()
  and remove ide_init_port_data() calls from host drivers.

* Unexport ide_init_port_data().

* Remove no longer needed init_ide_data().

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: fix host drivers missing hwif-&gt;chipset initialization</title>
<updated>2008-06-10T18:56:37Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-06-10T18:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d427e836d1d9b58e8f1e648c09b5fbe36e01013b'/>
<id>urn:sha1:d427e836d1d9b58e8f1e648c09b5fbe36e01013b</id>
<content type='text'>
ide_find_port() now depends on -&gt;chipset being set for occupied ide_hwifs[]
slots so all host drivers have to initialize hwif-&gt;chipset properly.

This patch fixes a regression on hosts with &gt; 1 port or with a single port
but no devices attached to it for an affected host drivers.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>m68k: macide doesnt check for Mac</title>
<updated>2008-05-18T20:28:49Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert@linux-m68k.org</email>
</author>
<published>2008-05-18T18:47:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3ce92a2a7b03dae6b7778e2a5ff52f2042512887'/>
<id>urn:sha1:3ce92a2a7b03dae6b7778e2a5ff52f2042512887</id>
<content type='text'>
The Macintosh IDE driver (macide) doesn't check whether it's actually running
on Mac hardware, causing a crash if it isn't.

Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ide: add struct ide_io_ports (take 3)</title>
<updated>2008-04-27T13:38:32Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-04-27T13:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4c3032d8a4d6c97bd6e02bcab524ef2428d89561'/>
<id>urn:sha1:4c3032d8a4d6c97bd6e02bcab524ef2428d89561</id>
<content type='text'>
* Add struct ide_io_ports and use it instead of `unsigned long io_ports[]`
  in ide_hwif_t.

* Rename io_ports[] in hw_regs_t to io_ports_array[].

* Use un-named union for 'unsigned long io_ports_array[]' and 'struct
  ide_io_ports io_ports' in hw_regs_t.

* Remove IDE_*_OFFSET defines.

v2:
* scc_pata.c build fix from Stephen Rothwell.

v3:
* Fix ctl_adrr typo in Sparc-specific part of ns87415.c.
  (Noticed by Andrew Morton)

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: cleanup setting hwif-&gt;mmio flag</title>
<updated>2008-04-26T20:25:19Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-04-26T20:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3dd89a9b2af37d8e3efd785e20b12b785e50e48f'/>
<id>urn:sha1:3dd89a9b2af37d8e3efd785e20b12b785e50e48f</id>
<content type='text'>
It is no longer needed to set hwif-&gt;mmio flag to tell IDE layer to not
manage resources so cleanup host drivers that used hwif-&gt;mmio flag only
for this purpose.

Ditto for ide_legacy_init_one().

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
