From owner-freebsd-net Tue Oct 2 20:29:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [64.0.106.45]) by hub.freebsd.org (Postfix) with ESMTP id 7912D37B403 for ; Tue, 2 Oct 2001 20:29:25 -0700 (PDT) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id XAA57350; Tue, 2 Oct 2001 23:29:17 -0400 (EDT) Date: Tue, 2 Oct 2001 23:29:16 -0400 (EDT) From: "Matthew N. Dodd" To: Garrett Wollman Cc: Matthew Jacob , Julian Elischer , freebsd-net@FreeBSD.ORG Subject: Re: review of minor clarifying comments In-Reply-To: <200110030212.f932Ci777014@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 2 Oct 2001, Garrett Wollman wrote: > < said: > > > can be changed to: > > > mii = device_get_softc(dev); > > ifp = mii->mii_ifp; > > I don't see anything wrong with the way things are. Perhaps some more > documentation is necessary, but as noted upthread this has a 20-year > history in the BSD networking stack and it's not like it's a > particular imposition. Its a layering violation in IMHO (in newbus anyway.) -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message