Date: Tue, 22 Aug 2000 16:26:51 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_sis.c if_sisreg.h Message-ID: <200008222326.QAA83831@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2000/08/22 16:26:51 PDT Modified files: sys/pci if_sis.c if_sisreg.h Log: 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. Revision Changes Path 1.21 +72 -19 src/sys/pci/if_sis.c 1.3 +16 -3 src/sys/pci/if_sisreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008222326.QAA83831>