From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 31 11:58:04 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA4D16A4CE for ; Fri, 31 Oct 2003 11:58:04 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28DA443FB1 for ; Fri, 31 Oct 2003 11:58:01 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9p2/8.12.9) with ESMTP id h9VJvxE7061341; Fri, 31 Oct 2003 12:57:59 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 31 Oct 2003 12:57:53 -0700 (MST) Message-Id: <20031031.125753.124085663.imp@bsdimp.com> To: bms@spc.org From: "M. Warner Losh" In-Reply-To: <20031031172447.GA716@saboteur.dek.spc.org> References: <20031031172447.GA716@saboteur.dek.spc.org> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: User asks: can we decouple device vendor IDs from drivers? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 19:58:04 -0000 In message: <20031031172447.GA716@saboteur.dek.spc.org> Bruce M Simpson writes: : This sounds like one for the NEWBUS people. A number of people have proposed this in the past. It is a big deal, and won't be in 5, although a 'treat this pnpid as that pnpid' might be, which would be sufficient. The problem with decoupling things entirely from the drivers is that many drivers will say "if I have this revision of that card, do this workaround." or "if I'm this or newer, I have this feature" both of which are broken by the kernel forcing the driver to service a given hunk of hardware. The other down side is that when you bork the alias file on solaris, you are so hozed. However, it would make the dynamic loading of drivers easier. Warner