linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
[parent not found: <19990922110700.018164@mailhost.mipsys.com>]
* Re: PB3400 ethernet and Q1->Q3 upgrade
@ 1999-09-21 14:15 Benjamin Herrenschmidt
  0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 1999-09-21 14:15 UTC (permalink / raw)
  To: ostermann; +Cc: linuxppc-dev, linuxppc-dev


On Tue, Sep 21, 1999, Shawn Ostermann <ostermann@cs.ohiou.edu> wrote:

>Unfortunately, I get in over my head very quickly when talking about
>hardware details.  Do you have enough information to look into those
>points?

I think I found where this mysterious ethernet interrupt is. I don't have
one of those machines to test with, but you can find interesting things
in darwin's source code in the drvPExpert package (platform expert,
contains the motherboard specific stuffs).

Basically, it appears that Apple checks for the presence of ohare2
(pci106b,7). When available, the ethernet irq is "fixed" (xor'ed with
0x18) and a special ohare2 handler is cascaded on the fifth irq of ohare
(bit 27 or 28, there's apparently a bug in the comment).
The eth itself is on the fourth or fifth interrupt of ohare 2 controller.
(I'm afraid: did they put an entire second ohare just for an interrupt
controller ? Or do they also use the SCC for the modem ? Do you have 2
media bays on this machine ?)

So it may be possible to implement this the same way I implemented the
gatwick interrupts for the wallstreet.

-- 
           Perso. e-mail: <mailto:bh40@calva.net>
           Work   e-mail: <mailto:benh@mipsys.com>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-09-22 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <19990921161556.026124>
1999-09-21 14:20 ` PB3400 ethernet and Q1->Q3 upgrade Benjamin Herrenschmidt
     [not found] <19990922110700.018164@mailhost.mipsys.com>
1999-09-22 12:53 ` Shawn Ostermann
1999-09-21 14:15 Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).