The patch titled
     libata: fix probe time irq printouts
has been added to the -mm tree.  Its filename is
     libata-fix-probe-time-irq-printouts.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: libata: fix probe time irq printouts
From: Olof Johansson <[EMAIL PROTECTED]>

Most drivers don't seem to fill out the host->irq field, resulting in the
wrong (no) irq being reported at probe time.  For example, sil24 on my
system:

ata1: SATA max UDMA/100 cmd 0xd00008009001f000 ctl 0x0000000000000000 bmdma 
0x0000000000000000 irq 0
ata2: SATA max UDMA/100 cmd 0xd000080090021000 ctl 0x0000000000000000 bmdma 
0x0000000000000000 irq 0

Since they're allocated and set up in ata_host_activate(), just save them
away there.

Signed-off-by: Olof Johansson <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/ata/libata-core.c |    3 +++
 1 files changed, 3 insertions(+)

diff -puN drivers/ata/libata-core.c~libata-fix-probe-time-irq-printouts 
drivers/ata/libata-core.c
--- a/drivers/ata/libata-core.c~libata-fix-probe-time-irq-printouts
+++ a/drivers/ata/libata-core.c
@@ -6509,6 +6509,9 @@ int ata_host_activate(struct ata_host *h
        if (rc)
                devm_free_irq(host->dev, irq, host);
 
+       /* Used to print device info at probe */
+       host->irq = irq;
+
        return rc;
 }
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

8xx-mpc885ads-pcmcia-support.patch
dts-kill-hardcoded-phandles.patch
libata-config_pm=n-compile-fix.patch
libata-fix-probe-time-irq-printouts.patch
8xx-fix-whitespace-and-indentation.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to