From owner-freebsd-current Sat Nov 27 9:21:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id BB02214CBA for ; Sat, 27 Nov 1999 09:21:32 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id SAA08328; Sat, 27 Nov 1999 18:01:54 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <199911271701.SAA08328@info.iet.unipi.it> Subject: Re: Update of if_dc driver In-Reply-To: from Doug Rabson at "Nov 27, 1999 02:45:07 pm" To: Doug Rabson Date: Sat, 27 Nov 1999 18:01:54 +0100 (CET) Cc: Bill Paul , current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, 25 Nov 1999, Bill Paul wrote: > > > My goal is to try and get this driver into 4.0 as soon as possible so > > I can use it as a replacement for the al, ax, dm, pn and mx drivers. > > However, there's a small problem: the de driver already supports the > > 21143, although it does so poorly according to some people. We can't > > have both drivers trying to support the same chip. I want to be able > > to turn off 21143 support in if_de and let if_dc handle them, but I having a more supported driver than "de" is always good. But as an interim solution (for 4.0 that is) maybe it is enough to make a small modification in the "de" probe routine and have a kernel option which tells the de driver whether or not recognize the 21143. Default would be "dc" handle everything, then if someone wants compatibility with the past they have to turn the option on (maybe at compile time) and make sure they don't put a "dc" driver in the kernel as well ? cheers luigi > > don't want to annoy people who are using if_de with 21143 cards now > > and not having any trouble. What do people think? Does anybody have > > anything against me transfering support for the 21143 from if_de to > > if_dc? Does anybody have a better idea? I'm open to suggestions. > > Why not use the probe priority system. For 21143 cards, return a negative > number from de_probe and zero from dc_probe. If dc is present, it will win > the auction and if not, de will get the hardware. > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 442 9037 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message