diff options
author | yongari <yongari@FreeBSD.org> | 2017-01-18 01:52:04 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2017-01-18 01:52:04 +0000 |
commit | c2592550502b00f1e9be3642806a17d4f74c23a0 (patch) | |
tree | d48a6ba4b6de2cee6b336d6ce51723e8937b83ac /sys/dev/pci/pci.c | |
parent | e2c95d3c4045726f1ee8affee6073b20c55fa2c9 (diff) | |
download | FreeBSD-src-c2592550502b00f1e9be3642806a17d4f74c23a0.zip FreeBSD-src-c2592550502b00f1e9be3642806a17d4f74c23a0.tar.gz |
MFC r304574-304575,304584:
r304574:
Correct DMA channel number selection on AR816x family of
controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
except L1D controller, use vendor recommended ASPM parameters.
While here, increase alc_dma_burst array size. Broken H/W can
return bogus value in theory.
r304575:
Add Killer E2400 Gigabit Ethernet support.
It seems Killer E2200/E2400 has a BIOS misconfiguration or silicon
bug which triggers DMA write errors when driver uses advertised
maximum payload size. Force the maximum payload size to 128 bytes
in DMA configuration.
This change should fix occasional DMA write errors reported on
Killer E2200.
r304584:
Add a missing change in r304575.
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r-- | sys/dev/pci/pci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 42d7d7c..b35c057 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -281,12 +281,13 @@ static const struct pci_quirk pci_quirks[] = { { 0x43851002, PCI_QUIRK_UNMAP_REG, 0x14, 0 }, /* - * Atheros AR8161/AR8162/E2200 Ethernet controllers have a bug that - * MSI interrupt does not assert if PCIM_CMD_INTxDIS bit of the - * command register is set. + * Atheros AR8161/AR8162/E2200/E2400 Ethernet controllers have a + * bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit + * of the command register is set. */ { 0x10911969, PCI_QUIRK_MSI_INTX_BUG, 0, 0 }, { 0xE0911969, PCI_QUIRK_MSI_INTX_BUG, 0, 0 }, + { 0xE0A11969, PCI_QUIRK_MSI_INTX_BUG, 0, 0 }, { 0x10901969, PCI_QUIRK_MSI_INTX_BUG, 0, 0 }, /* |