<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ide/ide-generic.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-03-31T18:15:24Z</updated>
<entry>
<title>ide: merge ide_arm and ide_generic host drivers</title>
<updated>2009-03-31T18:15:24Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-31T18:15:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4465461ece2b9249d6c0cf57bc0002100823e361'/>
<id>urn:sha1:4465461ece2b9249d6c0cf57bc0002100823e361</id>
<content type='text'>
There is no need for a separate ide_arm host driver nowadays
so merge it into ide_generic one.

While at it:
- return -EBUSY from ide_generic_init() if I/O resources are busy
- scale down ide_generic_check_pci_legacy_iobases() for CONFIG_PCI=n

Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Alexander Schulz &lt;alex@shark-linux.de&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-generic: remove no longer needed sysfs interface</title>
<updated>2009-03-31T18:15:24Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-31T18:15:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52913ab2c6f760c2af9f9396765ce8fa1a2baf17'/>
<id>urn:sha1:52913ab2c6f760c2af9f9396765ce8fa1a2baf17</id>
<content type='text'>
Nowadays we have "ide_generic.probe_mask=" module parameter
and ide_platform host driver so sysfs interface for adding
IDE interfaces is no longer needed.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-generic: use struct ide_port_info</title>
<updated>2009-03-27T11:46:17Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2009-03-27T11:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e518e58779d946f01bf93428be8791d5f07b4984'/>
<id>urn:sha1:e518e58779d946f01bf93428be8791d5f07b4984</id>
<content type='text'>
This fixes hwif-&gt;channel and drive-&gt;dn assignments.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-generic: remove no longer needed ide_probe_legacy()</title>
<updated>2008-10-13T19:39:42Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-10-13T19:39:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf4049103be931fca133f66b3181490284a521c6'/>
<id>urn:sha1:cf4049103be931fca133f66b3181490284a521c6</id>
<content type='text'>
There is now a generic solution [ide_generic_check_pci_legacy_iobases()]
so MIPS-specific ide_probe_legacy() is no longer necessary.

Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-generic: no need to probe all ports at once</title>
<updated>2008-10-13T19:39:42Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-10-13T19:39:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ccc6d7ecbb427580d045699e434bc5c6f45e227'/>
<id>urn:sha1:6ccc6d7ecbb427580d045699e434bc5c6f45e227</id>
<content type='text'>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-generic: handle probing of legacy io-ports v5</title>
<updated>2008-10-10T20:39:35Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2008-10-10T20:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20df429dd6671804999493baf2952f82582869fa'/>
<id>urn:sha1:20df429dd6671804999493baf2952f82582869fa</id>
<content type='text'>
Avoid probing the io-ports in case an IDE PCI controller is present and it
uses the legacy iobases. If we still want to enforce the probing, we do

ide_generic.probe_mask=0x3f

on the kernel command line. The iobase checking code is
adapted from drivers/ata/pata_legacy.c after converting hex
pci ids into their corresponding macros in &lt;linux/pci_ids.h&gt;.

Also, check only BAR0/2 resources since those are guaranteed
by the workaround in drivers/pci/probe.c:pci_setup_device().

Signed-off-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Acked-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
[bart: trivial printk() fixups]
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-generic: remove ide_default_{io_base,irq}() inlines (take 3)</title>
<updated>2008-07-24T20:53:31Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-07-24T20:53:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f01d35d87f39ab794ddcdefadb79c11054bcbfbc'/>
<id>urn:sha1:f01d35d87f39ab794ddcdefadb79c11054bcbfbc</id>
<content type='text'>
Replace ide_default_{io_base,irq}() inlines by legacy_{bases,irqs}[].

v2:
Add missing zero-ing of hws[] (caught during testing by Borislav Petkov).

v3:
Fix zero-oing of hws[] for _real_ this time.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide-generic: minor fix for mips</title>
<updated>2008-07-24T20:53:28Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-07-24T20:53:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dbdec839c4c2bfc8f2da8e50c06b9947e5ad0394'/>
<id>urn:sha1:dbdec839c4c2bfc8f2da8e50c06b9947e5ad0394</id>
<content type='text'>
Move ide_probe_legacy() call to ide_generic_init() so it fails
early if necessary and returns the proper error value (nowadays
ide_default_io_base() is used only by ide-generic).

Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add ide_host_free() helper (take 2)</title>
<updated>2008-07-23T17:55:59Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-07-23T17:55:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a69580e1ea9516caada5eed202afd39546e9809'/>
<id>urn:sha1:8a69580e1ea9516caada5eed202afd39546e9809</id>
<content type='text'>
* Add ide_host_free() helper and convert ide_host_remove() to use it.

* Fix handling of ide_host_register() failure in ide_host_add(),
  icside.c, ide-generic.c, falconide.c and sgiioc4.c.

While at it:

* Fix handling of ide_host_alloc_all() failure in ide-generic.c.

* Fix handling of ide_host_alloc() failure in falconide.c
  (also return the correct error value if no device is found).

v2:
* falconide build fix. (From Stephen Rothwell)

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>
</author>
<published>2008-07-23T17:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
</feed>
