Date: Thu, 3 Apr 2008 07:53:26 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Nathan Whitehorn <nathanw@uchicago.edu> Cc: freebsd-ppc@freebsd.org Subject: Re: BMAC Ethernet Driver Message-ID: <3B02E59E-5399-40B6-9747-2F49200FD708@mac.com> In-Reply-To: <47F4E007.90802@uchicago.edu> References: <47E06B23.7060400@uchicago.edu> <20080325023040.ab0daa19.stas@FreeBSD.org> <47E8527B.2050002@uchicago.edu> <47F39EF4.8040800@uchicago.edu> <C83E8810-B68B-49B5-A7F4-8B72A4FFFFDA@mac.com> <47F3D2BC.7060001@uchicago.edu> <47F422A0.9080907@uchicago.edu> <CB59240D-E385-4D4C-9372-E9D418502F61@mac.com> <EB224547-BCC9-4467-98E5-1D8EC0352349@mac.com> <Pine.GSO.4.62.0804022152590.20081@harper.uchicago.edu> <C1AB89FF-C466-46B0-BA83-2AD2989E73F9@mac.com> <47F4E007.90802@uchicago.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B02E59E-5399-40B6-9747-2F49200FD708>