Skip to contentSkip to conversation

ahci: SB600 ahci can't do MSI

PATCH Applied Tejun Heo 2 participants 2 messages Apr 29, 2008 libata

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 ahci: SB600 ahci can't do MSI

SB600 ahci can't do MSI. Blacklist it.

This fixes bz#10507.

---
drivers/ata/ahci.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/ahci.c +0 -0
Index: tree0/drivers/ata/ahci.c
===================================================================
@@ -433,7 +433,7 @@ static const struct ata_port_info ahci_p
	/* board_ahci_sb600 */
	{
		AHCI_HFLAGS	(AHCI_HFLAG_IGN_SERR_INTERNAL |
-				 AHCI_HFLAG_32BIT_ONLY |
+				 AHCI_HFLAG_32BIT_ONLY | AHCI_HFLAG_NO_MSI |
				 AHCI_HFLAG_SECT255 | AHCI_HFLAG_NO_PMP),
		.flags		= AHCI_FLAG_COMMON,
		.link_flags	= AHCI_LFLAG_COMMON,
Applied
#1 lore raw
Quoted 15 lines · Tejun Heo

SB600 ahci can't do MSI. Blacklist it.

This fixes bz#10507.

---
drivers/ata/ahci.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

Index: tree0/drivers/ata/ahci.c
===================================================================

drivers/ata/ahci.c static const struct ata_port_info ahci_p · line 439

Quoted 8 lines
drivers/ata/ahci.c +1 -1
@@ -433,7 +433,7 @@ static const struct ata_port_info ahci_p
    /* board_ahci_sb600 */
    {
        AHCI_HFLAGS    (AHCI_HFLAG_IGN_SERR_INTERNAL |
-                 AHCI_HFLAG_32BIT_ONLY |
+                 AHCI_HFLAG_32BIT_ONLY | AHCI_HFLAG_NO_MSI |
                 AHCI_HFLAG_SECT255 | AHCI_HFLAG_NO_PMP),
        .flags        = AHCI_FLAG_COMMON,
        .link_flags    = AHCI_LFLAG_COMMON,

applied