From owner-freebsd-net Sat Nov 3 11: 9:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id DB60E37B417 for ; Sat, 3 Nov 2001 11:09:25 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id fA3J5n956766; Sat, 3 Nov 2001 11:05:49 -0800 (PST) (envelope-from rizzo) Date: Sat, 3 Nov 2001 11:05:49 -0800 From: "'Luigi Rizzo'" To: Jim McGrath Cc: net@FreeBSD.ORG, mjacob@feral.com Subject: Re: softc, ifnet and arpcom overlay Message-ID: <20011103110549.A56707@iguana.aciri.org> References: <31269226357BD211979E00A0C9866DAB01BE79AC@rios.sitaranetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31269226357BD211979E00A0C9866DAB01BE79AC@rios.sitaranetworks.com> User-Agent: Mutt/1.3.23i 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 Sat, Nov 03, 2001 at 01:17:24PM -0500, Jim McGrath wrote: > Check mii.c, miibus_attach() I don't see anything strange there, the access is through device_get_softc(dev) which presumably does the right thing and makes no assumption on structure layout. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message