Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2008 20:16:43 -0500
From:      Nathan Whitehorn <nathanw@uchicago.edu>
To:        Stanislav Sedov <stas@FreeBSD.org>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: BMAC Ethernet Driver
Message-ID:  <47E8527B.2050002@uchicago.edu>
In-Reply-To: <20080325023040.ab0daa19.stas@FreeBSD.org>
References:  <47E06B23.7060400@uchicago.edu> <20080325023040.ab0daa19.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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 realized I left out a patch to macio.c that is required to use devices 
with multiple interrupts. It can be found here:

http://home.physics.wisc.edu/~nwhitehorn/macio-multi-interrupt.patch

> 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.

That's the plan. Right now, it doesn't depend on the bm code in any way 
-- it's just in there for distribution purposes. I'm going to have a go 
at awacs support (the built-in audio) in the near future, which also 
uses DBDMA. DMA for the built-in ATA controllers on G4 systems also 
requires it, as may some other things. I don't have any G4 machines, though.
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E8527B.2050002>