]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libata: fix assigned IRQ reporting
authorTejun Heo <htejun@gmail.com>
Mon, 2 Jul 2007 16:38:47 +0000 (01:38 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 3 Jul 2007 14:06:35 +0000 (10:06 -0400)
commit4031826b3ca40982880f6b9f2282c7d7fad60d77
tree69dba5acc2180bd34752483a2ce777c51686b01d
parentaa2e09da2a332e748532aa2a71b090e7e7c3203d
libata: fix assigned IRQ reporting

host->irq and host->irq2 should be set before ata_host_register() for
IRQ reporting to work.  Move up host->irq assignment in
ata_host_activate() and add it to ata_pci_init_one() native path and
pata_cs5520.

The port info printing in ata_host_register() doesn't fit all the
different controllers.  It should probably be moved out to LLDs with
some helpers in the future.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata-sff.c
drivers/ata/pata_cs5520.c