<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ide/pci/generic.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-02-06T01:57:49Z</updated>
<entry>
<title>ide-pci-generic: kill the unused ifdef/endif/MODULE code</title>
<updated>2008-02-06T01:57:49Z</updated>
<author>
<name>Denis Cheng</name>
</author>
<published>2008-02-06T01:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=594765a7316562cb7442f760a9a2f6e02804b610'/>
<id>urn:sha1:594765a7316562cb7442f760a9a2f6e02804b610</id>
<content type='text'>
with module_param macro, the __setup code can be killed now:
	const __setup("all-generic-ide", ide_generic_all_on);

and the module name "generic.ko" is not descriptive to its functionality,
can be changed in Makefile, the "ide-pci-generic.ko" is better.

the ide-pci-generic.all-generic-ide parameter also documented
in Documentation/kernel-parameters.txt

Signed-off-by: Denis Cheng &lt;crquan@gmail.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
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: 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: add IDE_HFLAG_CLEAR_SIMPLEX host flag</title>
<updated>2008-02-01T22:09:30Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2008-02-01T22:09:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ac2b42a45896641ed292deaf038a1d2703d85a6'/>
<id>urn:sha1:8ac2b42a45896641ed292deaf038a1d2703d85a6</id>
<content type='text'>
* Rename 'simplex_stat' variable to 'dma_stat' in ide_get_or_set_dma_base().

* Factor out code for forcing host out of "simplex" mode from
  ide_get_or_set_dma_base() to ide_pci_clear_simplex() helper.

* Add IDE_HFLAG_CLEAR_SIMPLEX host flag and set it in alim15x3 (for M5229),
  amd74xx (for AMD 7409), cmd64x (for CMD643), generic (for Netcell) and
  serverworks (for CSB5) host drivers.

* Make ide_get_or_set_dma_base() test for IDE_HFLAG_CLEAR_SIMPLEX host flag
  instead of checking dev-&gt;device (BTW the code was buggy because it didn't
  check for dev-&gt;vendor, luckily none of these PCI Device IDs was used by
  some other vendor for PCI IDE controller).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>drivers/ide/pci/generic: fix build for CONFIG_HOTPLUG=n</title>
<updated>2007-10-26T18:31:15Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-26T18:31:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5271be6b5601b3749cccd8ee89941d5868b90bf'/>
<id>urn:sha1:d5271be6b5601b3749cccd8ee89941d5868b90bf</id>
<content type='text'>
It turns out that const and __{dev}initdata cannot be mixed currently
and that generic IDE PCI host driver is also affected by the same issue:

On Thursday 25 October 2007, Ralf Baechle wrote:
&gt;   CC      drivers/ide/pci/generic.o
&gt; drivers/ide/pci/generic.c:52: error: __setup_str_ide_generic_all_on causes a
&gt; +section type conflict

[ Also reported by Martijn Uffing &lt;mp3project@sarijopen.student.utwente.nl&gt;. ]

This patch workarounds the problem in a bit hackish way but without
removing const from generic_chipsets[] (it adds const to __setup() so
__setup_str_ide_generic_all becomes const).

Now all __{dev}initdata data in generic IDE PCI host driver are read-only
so it builds again (driver's .init.data section gets marked as READONLY).

Cc: Martijn Uffing &lt;mp3project@sarijopen.student.utwente.nl&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: constify struct ide_port_info</title>
<updated>2007-10-19T22:32:34Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-19T22:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8562043606430185cad26d085d46adcc7ad67fd1'/>
<id>urn:sha1:8562043606430185cad26d085d46adcc7ad67fd1</id>
<content type='text'>
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: replace ide_pci_device_t by struct ide_port_info</title>
<updated>2007-10-19T22:32:34Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-19T22:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=039788e1532368eeca1071a873c14e03920cdf38'/>
<id>urn:sha1:039788e1532368eeca1071a873c14e03920cdf38</id>
<content type='text'>
* Rename struct ide_pci_device_s to struct ide_port_info.

* Remove ide_pci_device_t typedef.

While at it:

* Fix __ide_pci_register_driver() comment.

* Fix aec62xx_init_one() comment.

* Remove unused 'cds' field from ide_hwgroup_t.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add IDE_HFLAG_FORCE_LEGACY_IRQS host flag</title>
<updated>2007-10-19T22:32:30Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-19T22:32:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8acf28c090f0e5e049f56b27bdd7cf1fb40c6b98'/>
<id>urn:sha1:8acf28c090f0e5e049f56b27bdd7cf1fb40c6b98</id>
<content type='text'>
Add IDE_HFLAG_FORCE_LEGACY_IRQS host flag to tell ide_pci_setup_ports()
to always set hwif-&gt;irq to legacy IRQ 14/15 and convert generic IDE PCI
and via82cxxx host drivers to use it.

While at it:

* Add IDE_HFLAGS_UMC define (generic IDE PCI host driver).

* Remove no longer needed init_hwif_generic() (generic IDE PCI host driver).

* Set d-&gt;udma_mask instead of hwif-&gt;ultra_mask (via82cxxx host driver).

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add -&gt;mwdma_mask and -&gt;swdma_mask to ide_pci_device_t (take 2)</title>
<updated>2007-10-18T22:30:07Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-18T22:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f8b6c34854a966fe5eb7241fde0419d47d5d408'/>
<id>urn:sha1:5f8b6c34854a966fe5eb7241fde0419d47d5d408</id>
<content type='text'>
* Add -&gt;mwdma_mask and -&gt;swdma_mask to ide_pci_device_t.

* Set ide_hwif_t DMA masks using DMA masks from ide_pci_device_t in
  setup-pci.c::ide_pci_setup_ports() (iff DMA base is valid and -&gt;init_hwif
  method may still override them).

* Convert IDE PCI host drivers to use ide_pci_device_t DMA masks.

While at it:

* Use ATA_{UDMA,MWDMA,SWDMA}* defines.

* hpt34x.c: add separate ide_pci_device_t instances for HPT343 and HPT345.

* serverworks.c: fix DMA masks being set before checking DMA base.

v2:
* Add missing masks to DECLARE_GENERIC_PCI_DEV() macro.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>ide: add IDE_HFLAG_NO_{DMA,AUTODMA} host flags</title>
<updated>2007-10-18T22:30:06Z</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
</author>
<published>2007-10-18T22:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47b687882c02f802dd5bbe1227effe006820246e'/>
<id>urn:sha1:47b687882c02f802dd5bbe1227effe006820246e</id>
<content type='text'>
Add IDE_HFLAG_NO_{DMA,AUTODMA} host flags.  Convert all host drivers using
ide_pci_device_t to use these flags instead of d-&gt;autodma and then remove no
longer needed d-&gt;autodma.

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