<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/ide/ide-generic.c, branch v2.6.25</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>falconide: locking bugfix</title>
<updated>2008-02-19T00:41:25+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-19T00:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d684b21f89b96af3adc06877f29fd9f5214b23c8'/>
<id>d684b21f89b96af3adc06877f29fd9f5214b23c8</id>
<content type='text'>
commit 8ac4ce742c66100931b6f2d7a36b0df08bc721fe ("ide: fix host drivers
depending on ide_generic to probe for interfaces (take 2)") moved probing
to falconide but forgot to take care of Atari specific locking - fix it.

Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Michael Schmitz &lt;schmitz@debian.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>
commit 8ac4ce742c66100931b6f2d7a36b0df08bc721fe ("ide: fix host drivers
depending on ide_generic to probe for interfaces (take 2)") moved probing
to falconide but forgot to take care of Atari specific locking - fix it.

Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Michael Schmitz &lt;schmitz@debian.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide-generic: probing bugfix</title>
<updated>2008-02-06T01:57:48+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-06T01:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b2a53bc636b0e7e9ce4c899ad605432339ef5861'/>
<id>b2a53bc636b0e7e9ce4c899ad605432339ef5861</id>
<content type='text'>
On Tuesday 05 February 2008, Linus Torvalds wrote:
&gt; 
&gt; On Sat, 2 Feb 2008, Bartlomiej Zolnierkiewicz wrote:
&gt; &gt; 
&gt; &gt; * next part of IDE probing code re-organization saga
&gt; &gt;   (that would be me)
&gt; 
&gt; This seems to cause very irritating and bogus messages for me:
&gt; 
&gt;       Probing IDE interface ide0...
&gt;       Probing IDE interface ide1...
&gt;       ide2: I/O resource 0x0-0x7 not free.
&gt;       ide2: ports already in use, skipping probe
&gt;       ide3: I/O resource 0x0-0x7 not free.
&gt;       ide3: ports already in use, skipping probe
&gt;       ide4: I/O resource 0x0-0x7 not free.
&gt;       ide4: ports already in use, skipping probe
&gt;       ide5: I/O resource 0x0-0x7 not free.
&gt;       ide5: ports already in use, skipping probe
&gt;       ide6: I/O resource 0x0-0x7 not free.
&gt;       ide6: ports already in use, skipping probe
&gt;       ide7: I/O resource 0x0-0x7 not free.
&gt;       ide7: ports already in use, skipping probe
&gt;       ide8: I/O resource 0x0-0x7 not free.
&gt;       ide8: ports already in use, skipping probe
&gt;       ide9: I/O resource 0x0-0x7 not free.
&gt;       ide9: ports already in use, skipping probe
&gt; 
&gt; and that's just totally bogus. It shouldn't even request that region, 
&gt; since it's not been allocated!

The commit 139ddfcab50e5eabcc88341c8743a990ac1be6a2 ("ide: move handling of
I/O resources out of ide_probe_port()") changed the ordering of hwif-&gt;noprobe
check vs ide_hwif_request_regions() call (so that we now reserve I/O regions
before checking for hwif-&gt;noprobe).  However ide-generic host driver depended
on hwif-&gt;noprobe to be set for skipping probing of empty ide_hwifs[] slots.

Fix it by passing only indexes of non-empty slots to ide_device_add_all()
from ide_generic_init().

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Tuesday 05 February 2008, Linus Torvalds wrote:
&gt; 
&gt; On Sat, 2 Feb 2008, Bartlomiej Zolnierkiewicz wrote:
&gt; &gt; 
&gt; &gt; * next part of IDE probing code re-organization saga
&gt; &gt;   (that would be me)
&gt; 
&gt; This seems to cause very irritating and bogus messages for me:
&gt; 
&gt;       Probing IDE interface ide0...
&gt;       Probing IDE interface ide1...
&gt;       ide2: I/O resource 0x0-0x7 not free.
&gt;       ide2: ports already in use, skipping probe
&gt;       ide3: I/O resource 0x0-0x7 not free.
&gt;       ide3: ports already in use, skipping probe
&gt;       ide4: I/O resource 0x0-0x7 not free.
&gt;       ide4: ports already in use, skipping probe
&gt;       ide5: I/O resource 0x0-0x7 not free.
&gt;       ide5: ports already in use, skipping probe
&gt;       ide6: I/O resource 0x0-0x7 not free.
&gt;       ide6: ports already in use, skipping probe
&gt;       ide7: I/O resource 0x0-0x7 not free.
&gt;       ide7: ports already in use, skipping probe
&gt;       ide8: I/O resource 0x0-0x7 not free.
&gt;       ide8: ports already in use, skipping probe
&gt;       ide9: I/O resource 0x0-0x7 not free.
&gt;       ide9: ports already in use, skipping probe
&gt; 
&gt; and that's just totally bogus. It shouldn't even request that region, 
&gt; since it's not been allocated!

The commit 139ddfcab50e5eabcc88341c8743a990ac1be6a2 ("ide: move handling of
I/O resources out of ide_probe_port()") changed the ordering of hwif-&gt;noprobe
check vs ide_hwif_request_regions() call (so that we now reserve I/O regions
before checking for hwif-&gt;noprobe).  However ide-generic host driver depended
on hwif-&gt;noprobe to be set for skipping probing of empty ide_hwifs[] slots.

Fix it by passing only indexes of non-empty slots to ide_device_add_all()
from ide_generic_init().

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add struct ide_port_info instances to legacy host drivers</title>
<updated>2008-02-02T18:56:31+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-02-02T18:56:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c413b9b94d9a8e7548cc4b2e04b7df0439ce76fd'/>
<id>c413b9b94d9a8e7548cc4b2e04b7df0439ce76fd</id>
<content type='text'>
* Remove 'struct pci_dev *dev' argument from ide_hwif_setup_dma().

* Un-static ide_hwif_setup_dma() and add CONFIG_BLK_DEV_IDEDMA_PCI=n version.

* Add 'const struct ide_port_info *d' argument to ide_device_add[_all]().

* Factor out generic ports init from ide_pci_setup_ports() to ide_init_port(),
  move it to ide-probe.c and call it in in ide_device_add_all() instead of
  ide_pci_setup_ports().

* Move -&gt;mate setup to ide_device_add_all() from ide_port_init().

* Add IDE_HFLAG_NO_AUTOTUNE host flag for host drivers that don't enable
  -&gt;autotune currently.

* Setup hwif-&gt;chipset in ide_init_port() but iff pi-&gt;chipset is set
  (to not override setup done by ide_hwif_configure()).

* Add ETRAX host handling to ide_device_add_all().

* cmd640.c: set IDE_HFLAG_ABUSE_* also for CONFIG_BLK_DEV_CMD640_ENHANCED=n.

* pmac.c: make pmac_ide_setup_dma() return an error value and move DMA masks
  setup to pmac_ide_setup_device().

* Add 'struct ide_port_info' instances to legacy host drivers, pass them to
  ide_device_add() calls and then remove open-coded ports initialization.

Reviewed-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>
* Remove 'struct pci_dev *dev' argument from ide_hwif_setup_dma().

* Un-static ide_hwif_setup_dma() and add CONFIG_BLK_DEV_IDEDMA_PCI=n version.

* Add 'const struct ide_port_info *d' argument to ide_device_add[_all]().

* Factor out generic ports init from ide_pci_setup_ports() to ide_init_port(),
  move it to ide-probe.c and call it in in ide_device_add_all() instead of
  ide_pci_setup_ports().

* Move -&gt;mate setup to ide_device_add_all() from ide_port_init().

* Add IDE_HFLAG_NO_AUTOTUNE host flag for host drivers that don't enable
  -&gt;autotune currently.

* Setup hwif-&gt;chipset in ide_init_port() but iff pi-&gt;chipset is set
  (to not override setup done by ide_hwif_configure()).

* Add ETRAX host handling to ide_device_add_all().

* cmd640.c: set IDE_HFLAG_ABUSE_* also for CONFIG_BLK_DEV_CMD640_ENHANCED=n.

* pmac.c: make pmac_ide_setup_dma() return an error value and move DMA masks
  setup to pmac_ide_setup_device().

* Add 'struct ide_port_info' instances to legacy host drivers, pass them to
  ide_device_add() calls and then remove open-coded ports initialization.

Reviewed-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: remove ideprobe_init()</title>
<updated>2008-01-26T19:13:05+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-01-26T19:13:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=151575e4644f917d3a9f83c777ac3543284954f8'/>
<id>151575e4644f917d3a9f83c777ac3543284954f8</id>
<content type='text'>
* Rename ide_device_add() to ide_device_add_all() and make it accept
  'u8 idx[MAX_HWIFS]' instead of 'u8 idx[4]' as an argument.

* Add ide_device_add() wrapper for ide_device_add_all().

* Convert ide_generic_init() to use ide_device_add_all().

* Remove no longer needed ideprobe_init().

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename ide_device_add() to ide_device_add_all() and make it accept
  'u8 idx[MAX_HWIFS]' instead of 'u8 idx[4]' as an argument.

* Add ide_device_add() wrapper for ide_device_add_all().

* Convert ide_generic_init() to use ide_device_add_all().

* Remove no longer needed ideprobe_init().

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: add ide_proc_register_port()</title>
<updated>2007-05-09T22:01:11+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2007-05-09T22:01:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5cbf79cdb37be2aa2a1b4fa94144526b14557060'/>
<id>5cbf79cdb37be2aa2a1b4fa94144526b14557060</id>
<content type='text'>
* create_proc_ide_interfaces() tries to add /proc entries for every probed
  and initialized IDE port, replace it by ide_proc_register_port() which does
  it only for the given port (also rename destroy_proc_ide_interface() to
  ide_proc_unregister_port() for consistency)
  
* convert {create,destroy}_proc_ide_interface[s]() users to use new functions

* pmac driver depended on proc_ide_create() to add /proc port entries, fix it
  
* au1xxx-ide, swarm and cs5520 drivers depended indirectly on ide-generic
  driver (CONFIG_IDE_GENERIC=y) to add port /proc entries, fix them

* there is now no need to add /proc entries for IDE ports in proc_ide_create()
  so don't do it

* proc_ide_create() needs now to be called before drivers are probed - fix it,
  while at it make proc_ide_create() create /proc "ide" directory

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* create_proc_ide_interfaces() tries to add /proc entries for every probed
  and initialized IDE port, replace it by ide_proc_register_port() which does
  it only for the given port (also rename destroy_proc_ide_interface() to
  ide_proc_unregister_port() for consistency)
  
* convert {create,destroy}_proc_ide_interface[s]() users to use new functions

* pmac driver depended on proc_ide_create() to add /proc port entries, fix it
  
* au1xxx-ide, swarm and cs5520 drivers depended indirectly on ide-generic
  driver (CONFIG_IDE_GENERIC=y) to add port /proc entries, fix them

* there is now no need to add /proc entries for IDE ports in proc_ide_create()
  so don't do it

* proc_ide_create() needs now to be called before drivers are probed - fix it,
  while at it make proc_ide_create() create /proc "ide" directory

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Linux-2.6.12-rc2</title>
<updated>2005-04-16T22:20:36+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-04-16T22:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2'/>
<id>1da177e4c3f41524e886b7f1b8a0c1fc7321cac2</id>
<content type='text'>
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
</pre>
</div>
</content>
</entry>
</feed>
