From owner-cvs-all@FreeBSD.ORG Fri Feb 4 16:35:36 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30E9516A52D; Fri, 4 Feb 2005 16:35:34 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1912C43D2D; Fri, 4 Feb 2005 16:35:34 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j14GZ6Bv021857; Fri, 4 Feb 2005 09:35:06 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 04 Feb 2005 09:36:54 -0700 (MST) Message-Id: <20050204.093654.114275559.imp@bsdimp.com> To: dfr@qubesoft.com From: "M. Warner Losh" In-Reply-To: <5539563a425020d35ef1878057f4f85d@qubesoft.com> References: <84e9ba659174ea3f7c7b2930c0ae3759@xcllnt.net> <20050204.091426.98415585.imp@bsdimp.com> <5539563a425020d35ef1878057f4f85d@qubesoft.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: marcel@xcllnt.net cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: nate@root.org Subject: Re: cvs commit: src/sys/ia64/ia64 machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 16:35:36 -0000 In message: <5539563a425020d35ef1878057f4f85d@qubesoft.com> Doug Rabson writes: : : On 4 Feb 2005, at 16:14, M. Warner Losh wrote: : : > In message: <84e9ba659174ea3f7c7b2930c0ae3759@xcllnt.net> : > Marcel Moolenaar writes: : > : > I'm not sure if my approach is correct -- should different drivers : > for : > : > the same hardware share the same devclass? : > : : > : A datapoint: sio(4) and uart(4) are different drivers for the same : > : hardware. : > : They don't share the devclass. : > : > Neither do they share the same name. : : Just to make things clear, if two drivers use the same name, they will : always share the devclass automatically (whether or not they use the : same variable to reference the devclass) and will allocate : non-conflicting unit numbers. Cool. I'd thought I'd wound up with two instances of ed0 when I had different devclasses in the if_ed_isa and if_ed_pci files once upon a time... Warner