]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rz1000: apply chipset quirks early (v2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 29 Dec 2008 19:27:33 +0000 (20:27 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 29 Dec 2008 19:27:33 +0000 (20:27 +0100)
commit7f1ac8c4b9dadc55ec656b368f5f470f2cbe3083
tree75878c029a629bd938b3744dc2505b1ac78516ea
parentf58c1ab8deebc2360cef998f169a6727c288210f
rz1000: apply chipset quirks early (v2)

* Use pci_name(dev) instead of hwif->name in init_hwif_rz1000().

* init_hwif_rz1000() -> rz1000_init_chipset().  Update rz1000_init_one()
  to use rz1000_init_chipset() and add now required rz1000_remove().

* Remove superfluous ide_rz1000 chipset type.

v2:
* unsigned int rz1000_init_chipset() -> int rz1000_disable_readahead()
  per Sergei's suggestion.

Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-proc.c
drivers/ide/rz1000.c
include/linux/ide.h