Alu Powerbook

Peter Grehan grehan at freebsd.org
Mon Feb 9 23:13:42 PST 2004


> irq1:                           12934636      44756
  ...
> So apparently, something's wrong with the gem driver.. 

  I think the gem driver is OK, but the irq mapping looks
very dodgy. Would you be able to drop into OpenFirmware
and list the properties of the gmac device and the
parent UniN host-pci bridge ? e.g. on my emac:

0 > dev enet

0 > .properties
  ... (not so important)

0 > pwd
/pci at f4000000/ethernet at f

0 > dev ..

0> pwd
/pci at f4000000

0> .properties
  ...
interrupts
  ...
interrupt-map
interrupt-map-mask

  These are used by the irq assignment code in ofw/ofw_pci.c, which
assigns irqs base on the host bridge's interrupt-map for each device
on the bus. It looks like it might be getting things wrong for
GEM.

  To avoid the tedious typing out, it's worthwhile using the OpenFirmware
telnet server as described in

   http://developer.apple.com/technotes/tn/tn2004.html

  and capturing the output in a terminal window.

later,

Peter.



More information about the freebsd-ppc mailing list