<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ide/pci/cmd640.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-04-02T19:22:02Z</updated>
<entry>
<title>ide/pci/cmd640.c: add MODULE_LICENSE</title>
<updated>2008-04-02T19:22:02Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-04-02T19:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=776c0bcee6bc95c95f8677b720d99a464ca3af45'/>
<id>urn:sha1:776c0bcee6bc95c95f8677b720d99a464ca3af45</id>
<content type='text'>
Now that it can be built modular it needs a MODULE_LICENSE.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: skip probing port if "hdx=noprobe" was used for both devices on it</title>
<updated>2008-02-26T20:50:34Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-26T20:50:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c53ea18dc29a1ac075119f651d6ac4386a549a34'/>
<id>urn:sha1:c53ea18dc29a1ac075119f651d6ac4386a549a34</id>
<content type='text'>
* Skip probing port if "hdx=noprobe" parameter was used for both devices on it.

* Obsolete "idex=noprobe" parameter - it only works for ide_generic, cmd640
  and PCI hosts in Compatibility mode (on alpha/x86/ia64/m32r/mips/ppc32).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: remove needless includes from PCI host drivers</title>
<updated>2008-02-02T18:56:33Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-02T18:56:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78829dd9224b62e2092a681afaee1bda4d0cb93b'/>
<id>urn:sha1:78829dd9224b62e2092a681afaee1bda4d0cb93b</id>
<content type='text'>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add struct ide_port_info instances to legacy host drivers</title>
<updated>2008-02-02T18:56:31Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-02T18:56:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c413b9b94d9a8e7548cc4b2e04b7df0439ce76fd'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ide: delete filenames/versions from comments</title>
<updated>2008-02-01T22:09:33Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-01T22:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58f189fccc72bb8a91de1854e519b47d64fbdbaa'/>
<id>urn:sha1:58f189fccc72bb8a91de1854e519b47d64fbdbaa</id>
<content type='text'>
Delete filenames/versions from comments.

I'm leaving decisions about adding DRV_VERSION defines and MODULE_VERSION()-s
to maintainers of the respective drivers.

While at it:

* Remove unused VERSION define from ide.c.

* Remove unused/stale DRV_VERSION define from au1xxx-ide.c.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: make remaining built-in only IDE host drivers modular (take 2)</title>
<updated>2008-01-26T19:13:07Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-01-26T19:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ade2daf9c6e57845fe83a24e0a9fa1c03c6e91b1'/>
<id>urn:sha1:ade2daf9c6e57845fe83a24e0a9fa1c03c6e91b1</id>
<content type='text'>
* Make remaining built-in only IDE host drivers modular, add ide-scan-pci.c
  file for probing PCI host drivers registered with IDE core (special case
  for built-in IDE and CONFIG_IDEPCI_PCIBUS_ORDER=y) and then take care of
  the ordering in which all IDE host drivers are probed when IDE is built-in
  during link time.

* Move probing of gayle, falconide, macide, q40ide and buddha (m68k arch
  specific) host drivers, before PCI ones (no PCI on m68k), ide-cris (cris
  arch specific), cmd640 (x86 arch specific) and pmac (ppc arch specific).

* Move probing of ide-cris (cris arch specific) host driver before cmd640
  (x86 arch specific).

* Move probing of mpc8xx (ppc specific) host driver before ide-pnp (depends
  on ISA and none of ppc platform that use mpc8xx supports ISA) and ide-h8300
  (h8300 arch specific).

* Add "probe_vlb" kernel parameter to cmd640 host driver and update
  Documentation/ide.txt accordingly.

* Make IDE_ARM config option visible so it can also be disabled if needed.

* Remove bogus comment from ide.c while at it.

v2:
* Fix two issues spotted by Sergei:
  - replace ENOMEM error value by ENOENT in ide-h8300 host driver
  - fix MODULE_PARM_DESC() in cmd640 host driver

Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Mikael Starvik &lt;starvik@axis.com&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: fix host drivers depending on ide_generic to probe for interfaces (take 2)</title>
<updated>2008-01-26T19:13:06Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-01-26T19:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ac4ce742c66100931b6f2d7a36b0df08bc721fe'/>
<id>urn:sha1:8ac4ce742c66100931b6f2d7a36b0df08bc721fe</id>
<content type='text'>
* Add mpc8xx_ide_probe() to mpc8xx.c and call it from probe_for_hwifs().

* Convert ide_arm, ide-cris, ide-h8300, ide-pnp, buddha, falconide, gayle,
  macide, q40ide, cmd640 and mpc8xx host drivers to use ide_device_add().

  This removes dependency on ide_generic for these drivers so update
  ide/Kconfig accordingly.

v2:
* ide_arm build fix (s/ide_device_idx/ide_device_add/)
  (Thanks to Christoph Lameter &lt;clameter@sgi.com&gt; for reporting the problem).

Cc: Mikael Starvik &lt;starvik@axis.com&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: take ide_lock for prefetch disable/enable in do_special()</title>
<updated>2007-10-19T22:32:36Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-19T22:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d393aa0326436efd3cb800916b08cdac4dd1091a'/>
<id>urn:sha1:d393aa0326436efd3cb800916b08cdac4dd1091a</id>
<content type='text'>
Take ide_lock for prefetch disable/enable in do_special(),
then cleanup cmd640 and ht6560b host drivers.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmd640: fix deadlock on error handling</title>
<updated>2007-10-19T22:32:35Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-19T22:32:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bbcf9242d4d15027cbee9618fca4b88b7327c28'/>
<id>urn:sha1:5bbcf9242d4d15027cbee9618fca4b88b7327c28</id>
<content type='text'>
Stop abusing ide_lock lock (switch to a private locking).

Fixes same issue as fixed by Alan Cox in atiixp host driver with
commit 6c5f8cc33eb2e10b6ab788bbe259fc142a068627.

cmd640 is a bit special cause we still need to leave ide_lock for
-&gt;set_pio_mode with 'pio' argument == 8/9 (prefetch disable/enable).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add ide_set{_max}_pio() (take 4)</title>
<updated>2007-10-11T21:54:00Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-11T21:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=26bcb879c03254545a19c6700fe5bcef6f21e7b1'/>
<id>urn:sha1:26bcb879c03254545a19c6700fe5bcef6f21e7b1</id>
<content type='text'>
* Add IDE_HFLAG_ABUSE_{PREFETCH,FAST_DEVSEL,DMA_MODES} flags
  and set them in ht6560, cmd640, cmd64x and sc1200 host drivers.

* Add set_pio_mode_abuse() for checking if host driver has a non-standard
  -&gt;tuneproc() implementation and use it in do_special().

* Add ide_set_pio() for setting PIO mode (it uses hwif-&gt;pio_mask to find
  the maximum PIO mode supported by the host), also add ide_set_max_pio()
  wrapper for ide_set_pio() to use for auto-tuning.  Convert users of
  -&gt;tuneproc to use ide_set{_max}_pio() where possible.  This leaves only
  do_special(), set_using_pio(), ide_hwif_restore() and ide_set_pio() as
  a direct users of -&gt;tuneproc.

* Remove no longer needed ide_get_best_pio_mode() calls and printk-s
  reporting PIO mode selected from -&gt;tuneproc implementations.

* Rename -&gt;tuneproc hook to -&gt;set_pio_mode and make 'pio' argument const.

* Remove stale comment from ide_config_drive_speed().

v2:
* Fix "ata_" prefix (Noticed by Jeff).

v3:
* Minor cleanups/fixups per Sergei's suggestions.

v4:
* Fix compile problem in drivers/ide/pci/cmd640.c
  (Noticed by Andrew Morton).

* Improve some -&gt;set_pio_mode comments.

Reviewed-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
</feed>
