BMAC Ethernet Driver

Marcel Moolenaar xcllnt at mac.com
Thu Apr 3 14:53:38 UTC 2008


On Apr 3, 2008, at 6:47 AM, Nathan Whitehorn wrote:
> Since bm depends on those DBDMA interrupts, like any DBDMA device,  
> we shouldn't filter them out globally, and I'm hesitant to add a  
> bunch of SCC-specific hacks to macio. We will also need them if we  
> want to support DMA on the onboard ATA controller or want to support  
> the AWACS sound chip.

See below.

>> I guess on your machine, interrupts use only 1 cell. This means we  
>> need
>> to fix macio(4) to interpret the "#interrupt-cells" property of the
>> interrupt controller in the "interrupt-parent" property...
>
> So it would seem:
> Node 0xff860a58: mac-io
>  Node 0xff861220: interrupt-controller
>    #interrupt-cells:
>      00 00 00 01
>
> This sounds like a good solution. Do you want to make the patch, or  
> do you want me to give it a try?

Let's split the work. If you could fix macio(4) to use #interrupt-cells,
I'll fix scc(4) to deal with the DBDMA interrupts...

Thoughts?

-- 
Marcel Moolenaar
xcllnt at mac.com




More information about the freebsd-ppc mailing list