Skip to content

Commit 2f3c2b3

Browse files
committed
Merge tag 'ata-6.9-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux
Pull ata fix from Niklas Cassel: "A single fix for ASMedia HBAs. These HBAs do not indicate that they support SATA Port Multipliers CAP.SPM (Supports Port Multiplier) is not set. Likewise, they do not allow you to probe the devices behind an attached PMP, as defined according to the SATA-IO PMP specification. Instead, they have decided to implement their own version of PMP, and because of this, plugging in a PMP actually works, even if the HBA claims that it does not support PMP. Revert a recent quirk for these HBAs, as that breaks ASMedia's own implementation of PMP. Unfortunately, this will once again give some users of these HBAs significantly increased boot time. However, a longer boot time for some, is the lesser evil compared to some other users not being able to detect their drives at all" * tag 'ata-6.9-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux: ahci: asm1064: asm1166: don't limit reported ports
2 parents d95fcdf + 6cd8adc commit 2f3c2b3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

drivers/ata/ahci.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -669,19 +669,6 @@ MODULE_PARM_DESC(mobile_lpm_policy, "Default LPM policy for mobile chipsets");
669669
static void ahci_pci_save_initial_config(struct pci_dev *pdev,
670670
struct ahci_host_priv *hpriv)
671671
{
672-
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA) {
673-
switch (pdev->device) {
674-
case 0x1166:
675-
dev_info(&pdev->dev, "ASM1166 has only six ports\n");
676-
hpriv->saved_port_map = 0x3f;
677-
break;
678-
case 0x1064:
679-
dev_info(&pdev->dev, "ASM1064 has only four ports\n");
680-
hpriv->saved_port_map = 0xf;
681-
break;
682-
}
683-
}
684-
685672
if (pdev->vendor == PCI_VENDOR_ID_JMICRON && pdev->device == 0x2361) {
686673
dev_info(&pdev->dev, "JMB361 has only one port\n");
687674
hpriv->saved_port_map = 1;

0 commit comments

Comments
 (0)