bge: Workaround "short DMA" bug on certain chips
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 2 Jul 2012 07:45:30 +0000 (15:45 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 2 Jul 2012 08:46:02 +0000 (16:46 +0800)
commite0b35c1fa14e0f1ba0d18b346ebd12f26aeec3a8
tree687099ccda3d2e637bd3f17638df1f228214929e
parent8141882909de41c0d428ce2fa7f1d9adba3887d3
bge: Workaround "short DMA" bug on certain chips

If controllers receive two back-to-back send BDs with less than or equal
to 8 total bytes then the device may hang.  The two back-to-back send
BDs must be in the same frame for this failure to occur.

Obtained-from: FreeBSD 214087
sys/dev/netif/bge/if_bge.c
sys/dev/netif/bge/if_bgereg.h