From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 30 17:16:00 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AA5B106568A for ; Wed, 30 Apr 2008 17:16:00 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 09B7C8FC15 for ; Wed, 30 Apr 2008 17:15:59 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id E304F1275C; Thu, 1 May 2008 03:13:15 +1000 (EST) Received: from peter-grehans-power-mac-g5.local (dsl-63-249-90-35.cruzio.com [63.249.90.35]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with ESMTP id DXM07594 (AUTH peterg@ptree32.com.au); Thu, 1 May 2008 03:13:26 +1000 (EST) Message-ID: <4818A8B0.6020805@freebsd.org> Date: Wed, 30 Apr 2008 10:13:20 -0700 From: Peter Grehan User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Nathan Whitehorn References: <47E06B23.7060400@uchicago.edu> <20080325023040.ab0daa19.stas@FreeBSD.org> <47E8527B.2050002@uchicago.edu> <47F39EF4.8040800@uchicago.edu> <47F3D2BC.7060001@uchicago.edu> <47F422A0.9080907@uchicago.edu> <47F4E007.90802@uchicago.edu> <3B02E59E-5399-40B6-9747-2F49200FD708@mac.com> <47F59C13.9030705@uchicago.edu> <9A74257B-DD5E-4C7E-B1FE-F42D55D1BB41@mac.com> <48152F8F.7030601@uchicago.edu> <61AA447E-2D56-4305-AE25-C4209D1FA540@mac.com> <4818A765.50507@uchicago.edu> In-Reply-To: <4818A765.50507@uchicago.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: BMAC Ethernet Driver X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: grehan@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 17:16:00 -0000 Hi Nathan, > I'm trying to figure out where to put the files. There are a lot of > sparc64 (and i386) specific drivers in /sys/dev, but SoC peripherals > tend to end up in an arch-specific location. For powermac hardware, we > seem to have a mix (UART driver in /sys/dev, built-in ATA in powermac). > Unless someone tells me otherwise, I will put the if_bm* stuff in powermac. I was mistaken in putting the ATA stuff (and others) into powermac/. It makes it a tad more difficult to build modules, manpages etc. There's plenty of precedent for single-arch drivers going into dev/. It also makes it easier for folk to find things when they are doing changes that sweep the tree, such as modifying a field in the ifnet struct. I vote for it to go into dev/. later, Peter.