Skip to content

Commit 819212e

Browse files
committed
ata-serverworks: Fix incorrect port count for BCM5770 SATA controller
Despite its name, the 1166:0241 PCI device has 8 ports instead of 4. Signed-off-by: Dmitry Borisov <[email protected]>
1 parent db0d002 commit 819212e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sys/dev/ata/chipsets/ata-serverworks.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ ata_serverworks_probe(device_t dev)
8282
{ ATA_HT1000_S1, 0x00, SWKS_MIO, 4, ATA_SA150, "HT1000" },
8383
{ ATA_HT1000_S2, 0x00, SWKS_MIO, 4, ATA_SA150, "HT1000" },
8484
{ ATA_K2, 0x00, SWKS_MIO, 4, ATA_SA150, "K2" },
85-
{ ATA_FRODO4, 0x00, SWKS_MIO, 4, ATA_SA150, "Frodo4" },
86-
{ ATA_FRODO8, 0x00, SWKS_MIO, 8, ATA_SA150, "Frodo8" },
85+
{ ATA_FRODO4, 0x00, SWKS_MIO, 8, ATA_SA150, "Frodo4" },
86+
{ ATA_FRODO8, 0x00, SWKS_MIO, 4, ATA_SA150, "Frodo8" },
8787
{ 0, 0, 0, 0, 0, 0}};
8888

8989
if (pci_get_vendor(dev) != ATA_SERVERWORKS_ID)

0 commit comments

Comments
 (0)