From owner-cvs-all Mon Dec 13 13:45:17 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8263B151EF; Mon, 13 Dec 1999 13:45:14 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA29408; Mon, 13 Dec 1999 13:45:14 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Message-Id: <199912132145.NAA29408@freefall.freebsd.org> From: Bill Paul Date: Mon, 13 Dec 1999 13:45:14 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c if_dcreg.h src/sys/dev/mii dcphy.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk wpaul 1999/12/13 13:45:14 PST Modified files: sys/pci if_dc.c if_dcreg.h sys/dev/mii dcphy.c Log: Fix some problems reported by Mike Pritchard: - Add a flag DC_TX_INTR_ALWAYS which causes the transmit code to request a TX done interrupt for every packet. The PNIC seems to need this to insure that the sent TX buffers get reaped in a timely fashion. - Try to unreset the SIA as soon as possible after resetting the whole chip. - Change dcphy to support either 10/100 or 10Mbps only NICs. The built-in 21143 ethernet in Compaq Presario machines is 10Mbps only and it doesn't work right if we try to advertise 100Mbps modes during autoneg. When restricted to only 10mbps modes, it works fine. Note that for now, I detect this condition by checking the PCI subsystem ID on this NIC (which has a Compaq vendor/device ID). Yes, I know that's what the SROM is supposed to be for. I'm deliberately ignoring the SROM wherever possible. Sue me. The latter two fixes allow if_dc to work correctly with the built-in ethernet on certain Compaq Presario boxes. There are liable to be quite a few people using these as their home systems who might want to try FreeBSD; may as well be nice to them. Now if anybody out there has an Alpha miata with 10Mbps ethernet and can show me the output from pciconf -l on their system, I'd be grateful. Revision Changes Path 1.3 +16 -3 src/sys/pci/if_dc.c 1.2 +2 -1 src/sys/pci/if_dcreg.h 1.2 +24 -11 src/sys/dev/mii/dcphy.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message