Re: [PATCH 2.6.22-rc7] libata: fix assigned IRQ reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tejun Heo <htejun@xxxxxxxxx> :
> 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@xxxxxxxxx>

Is it supposed to change the behavior below ?

[    0.000000] Linux version 2.6.22-rc7 (root@xxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #12 Mon Jul 2 22:36:43 CEST 2007
[...]
[   30.322290] SCSI subsystem initialized
[   30.335668] libata version 2.21 loaded.
[   30.338329] ata_piix 0000:00:1f.2: version 2.11
[   30.338341] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
[   30.343809] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
[   30.351476] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[   30.351592] scsi0 : ata_piix
[   30.354807] scsi1 : ata_piix
[   30.357975] ata1: SATA max UDMA/133 cmd 0x0001c080 ctl 0x0001c002 bmdma 0x0001b800 irq 0
                                                                                          ^
[   30.366152] ata2: SATA max UDMA/133 cmd 0x0001bc00 ctl 0x0001b882 bmdma 0x0001b808 irq 0
                                                                                          ^

-- 
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux