From owner-freebsd-current Fri Jun 2 0:30:18 2000 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 9A69137B5BB; Fri, 2 Jun 2000 00:30:13 -0700 (PDT) Subject: Re: Looking for testers for if_dc patches In-Reply-To: <20000602002757.B99732@freebie.wbnet> from Wilko Bulte at "Jun 2, 2000 00:27:57 am" To: wc.bulte@chello.nl Date: Fri, 2 Jun 2000 00:30:13 -0700 (PDT) Cc: wc.bulte@chello.nl, ticso@cicely.de, current@FreeBSD.ORG, alpha@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20000602073013.9A69137B5BB@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > For reference the ID reported is: > > de0@pci0:3:0: class=0x020000 card=0x00000000 chip=0x00191011 rev=0x11 hdr=0x00 Hm, ok. First of all, I made a mistake in what I told you. The code in dcphy.c checks the subsystem ID, not the device ID. The device ID is always the same, since that identifies the 21143 chip, however the subsystem ID can vary from board to board depending on the manufacturer's whims. The odd thing is that the subsystem ID here is 0x00000000 (the "card=" value), however that doesn't rule out running our test. So, go back to dcphy.c and do this: case COMPAQ_PRESARIO_ID: case 0x00000000: /* Example of how to only allow 10Mbps modes. */ sc->mii_capabilities = BMSR_ANEG|BMSR_10TFDX|BMSR_10THDX; break; Let me know if this has any effect. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message