Subject: Re: PowerBook G3 SCSI?
To: NetBSD/macppc list <port-macppc@netbsd.org>
From: John Valdes <valdes@uchicago.edu>
List: port-macppc
Date: 02/15/2001 11:03:53
On Thu, Feb 15, 2001 at 09:00:38AM -0500, Allen Briggs wrote:
> On Wed, Feb 14, 2001 at 10:08:56PM -0600, John Valdes wrote:
> > At boot, the kernel reports:
> > 
> >   /netbsd: scsi at obio0 offset 0x10000 not configured
> 
> I would hazard a guess that Apple changed the OFW name of the scsi
> device from "mesh" (the name of their controller) to the more generic
> "scsi".
> 
> What does "dev / ls" show from OFW?
> 
> It looks like the mesh driver currently matches the name "mesh" and
> the "compatible" property with a value of "chrp,mesh0".

Correct.  The full path I see in OFW is:

  /pci@80000000/mac-io@10/scsi@10000

and the .properties are:

  name		    scsi
  device_type	    scsi
  compatible	    chrp,mesh0
  built-in
  reg               00010000 00001000
		    00008000 00000100
  clock-frequency   02faf080
  interrupts	    0000000c 00000000
  interrupt-parent  ff86bc50

In the nameless OS's mesh.c, the "match" function first looks for
devices named "mesh", and if that fails, looks for devices named
"scsi" w/ compatible "chrp,mesh0".

John