]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cmd640: init hwif->{io_ports,irq} explicitly
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:34 +0000 (00:46 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:34 +0000 (00:46 +0200)
commit6d3803b68e29d898c29eab5185261682f8f07650
tree987f1d15d4a1cf271f8d201c7219681bfd32d4ad
parentdaaad24fdc2ed7cd45d9a09abdec46c0d34031a1
cmd640: init hwif->{io_ports,irq} explicitly

Do explicit port setup instead of depending on init_ide_data().

This way hwif->io_ports[] and hwif->irq are always correctly set
regardless of CONFIG_PCI / CONFIG_BLK_DEV_IDEPCI.

While at it fix printk().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/cmd640.c