summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-08-22 23:26:51 +0000
committerwpaul <wpaul@FreeBSD.org>2000-08-22 23:26:51 +0000
commit7370888a4b9f4fe3a8fa8f4c0dbc97f2f1b7686f (patch)
treec0ce5da06e079bfeed3a4b5ec2203c09c8792455 /share
parentdf79e3d3c75226317d3b972133053872de7b6e6c (diff)
downloadFreeBSD-src-7370888a4b9f4fe3a8fa8f4c0dbc97f2f1b7686f.zip
FreeBSD-src-7370888a4b9f4fe3a8fa8f4c0dbc97f2f1b7686f.tar.gz
Fix up the sis driver, largely to improve the NatSemi DP83815 support:
- Modify the driver to poll the link state and positively set the MAC to full or half duplex as needed. Previously, it was possible for the MAC to remain in half duplex even though the PHY had negotiated full duplex with its link partner, which would result in bursty performance. - Program some of the NatSemi's registers as specified by the datasheet. The manual says these are necessary for "optimum perofrmance," though a couple of them are marked as reserved in the register map. *shrug* - Select the TX DMA burst size correctly for 10 and 100mbps modes. Previously I was using 64 bytes in both modes, which worked in 100mbps mode, but resulting in spotty performance in 10mbps. 32 bytes works much better; without this change, the natsemi chip yields piss poor performance at 10mbps. With these fixes, the NatSemi chip finally performs to my satisfaction. I should be merging the support for this controller into -stable shortly. Phew.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud