From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 24 23:59:13 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 ECE6C1065670 for ; Mon, 24 Mar 2008 23:59:13 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 987498FC16 for ; Mon, 24 Mar 2008 23:59:13 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [85.21.245.235] (helo=phonon.ht-systems.ru) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1Jdw7n-0002CV-0y; Tue, 25 Mar 2008 02:30:43 +0300 Received: by phonon.ht-systems.ru (Postfix, from userid 1001) id A5D667EE5F4; Tue, 25 Mar 2008 02:30:40 +0300 (MSK) Date: Tue, 25 Mar 2008 02:30:40 +0300 From: Stanislav Sedov To: Nathan Whitehorn Message-Id: <20080325023040.ab0daa19.stas@FreeBSD.org> In-Reply-To: <47E06B23.7060400@uchicago.edu> References: <47E06B23.7060400@uchicago.edu> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 23:59:14 -0000 On Tue, 18 Mar 2008 20:23:47 -0500 Nathan Whitehorn mentioned: > Here is a first draft of a driver for the BMAC(+) built-in ethernet > found at least on G3 macs. It is based on some earlier work by Peter > Grehan, and some parts of it have been lifted from the FreeBSD gem driver. > > It works well on my 400 MHz blue & white G3, which has a BMAC+ > controller. I'd appreciate testing on earlier machines, which have > buggier controllers (early G3 iMacs especially). > > Source: http://home.physics.wisc.edu/~nwhitehorn/bm.tgz > > The source is set up to build a kernel module. I haven't tried any > integration with the build system yet. It panics on my blue and white iMac with message: en irq out of range It's pretty strange, since the irq displayed is 42, which is smaller than the limit. I'll try to investigate further tomorrow. Thanks for the work! BTW, I think it makes sense to move dbdma code out of driver and make it a generic subsystem, since it can be used by other drivers as well. -- Stanislav Sedov ST4096-RIPE