From owner-freebsd-chat Fri Sep 29 2:42:30 2000 Delivered-To: freebsd-chat@freebsd.org Received: from smtp05.primenet.com (smtp05.primenet.com [206.165.6.135]) by hub.freebsd.org (Postfix) with ESMTP id 282B237B628 for ; Fri, 29 Sep 2000 02:39:02 -0700 (PDT) Received: (from daemon@localhost) by smtp05.primenet.com (8.9.3/8.9.3) id CAA05173; Fri, 29 Sep 2000 02:38:51 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp05.primenet.com, id smtpdAAAG.aqfk; Fri Sep 29 02:38:46 2000 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id CAA15938; Fri, 29 Sep 2000 02:38:25 -0700 (MST) From: Terry Lambert Message-Id: <200009290938.CAA15938@usr08.primenet.com> Subject: Re: Ideas about network interfaces. To: des@ofug.org (Dag-Erling Smorgrav) Date: Fri, 29 Sep 2000 09:38:25 +0000 (GMT) Cc: res03db2@gte.net (Robert Clark), tlambert@primenet.com, dot@dotat.at, freebsd-chat@FreeBSD.ORG, ragnar@sysabend.org In-Reply-To: from "Dag-Erling Smorgrav" at Sep 29, 2000 09:46:40 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > My thought, is that we don't name our disk devices based > > on the brand of the scsi controller. Why do we specify > > an interface to talk to, based on a brand name. > > Because the SCSI disk driver does not know about SCSI controllers. It > talks to CAM, and CAM passes commands to the SCSI controller, and SCSI > controller drivers *do* have different names depending on the brand, > so your analogy fails. No it doesn't. If we accept your universe, then he's just asking for an ethernet device driver that doesn't know about ethernet controllers. Editting your reply, we get: ] Because the ethernet driver does not know about ethernet controllers. ] It talks to EN0, and EN0 passes commands to the ethernet controller, ] and ethernet controller drivers *do* have different names depending ] on the brand, so this makes ethernet exactly like SCSI disks, in ] that it has an abstraction that simplifies device naming. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message