From owner-freebsd-hackers Thu Nov 23 9:22:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id D274937B479; Thu, 23 Nov 2000 09:22:43 -0800 (PST) Received: from newsguy.com (p35-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.100]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id CAA15518; Fri, 24 Nov 2000 02:21:32 +0900 (JST) Message-ID: <3A1D51AF.87781AD1@newsguy.com> Date: Fri, 24 Nov 2000 02:19:43 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: Motomichi Matsuzaki Cc: thomas@home.unpar.ac.id, freebsd-hackers@FreeBSD.ORG, julian@freebsd.org Subject: Re: 2 pci , 1 isa, same type NIC makes freebsd seems to be confused References: <004a01c054f9$2866f5c0$2904020a@unpar.ac.id> <86d7fnryr0.wl@tkc.att.ne.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Motomichi Matsuzaki wrote: > > These separated devclass leads to confusable situation. > Drivers which have same name (such like 'ed') > should share one devclass, or multiple 'ed0' appear on the host. > > Sadly, this type of mistakes are widely spreaded on the tree. That's probably because it's widely spread on the tree. There ought to be a note on this on Julian's example driver (though I'm glad to see it already _does_ the right thing), and possibly elsewhere. As well as an effort to fix it in the three. There, I added a note on devclass(9). Someone fix the tree. :-) The fix is trivial, and not even particularly tiring. This is the proverbial junior kernel hacker task, though one doesn't even need to be a junior kernel hacker to do it. :-) The downside is that it's not particularly interesting to do either, and there is nothing to be learned from the experience. /me sighs -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@united.bsdconspiracy.net "All right, Lieutenant, let's see what you do know. Whatever it is, it's not enough, but at least you haven't done anything stupid yet." "I've hardly had time, sir." "There's a naive statement." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message