diff options
author | mbr <mbr@FreeBSD.org> | 2003-08-24 23:47:44 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-08-24 23:47:44 +0000 |
commit | 68be1eae1d7c580e2b0d4e17fa0e72eb5fd99345 (patch) | |
tree | ee3bbe9550370d9723e80a00f2e8f323477aa47d /sys/dev | |
parent | ae6f276661df2a76c87956f5cd4011d8f3944f1b (diff) | |
download | FreeBSD-src-68be1eae1d7c580e2b0d4e17fa0e72eb5fd99345.zip FreeBSD-src-68be1eae1d7c580e2b0d4e17fa0e72eb5fd99345.tar.gz |
Make TX on davicom 9102A working again. This chip needs
its mbufs aligned on TX.
PR: 53656, 42714
MFC after: 3 days
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/dc/if_dc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 6caf01f..f1e47d2 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -1928,6 +1928,8 @@ dc_attach(device_t dev) sc->dc_flags |= DC_TX_COALESCE | DC_TX_INTR_ALWAYS; sc->dc_flags |= DC_REDUCED_MII_POLL | DC_TX_STORENFWD; sc->dc_pmode = DC_PMODE_MII; + if (revision >= DC_REVISION_DM9102A) + sc->dc_flags |= DC_TX_ALIGN; /* Increase the latency timer value. */ command = pci_read_config(dev, DC_PCI_CFLT, 4); command &= 0xFFFF00FF; |