Subject: Re: netbooting an OF 1.0.5 macppc with SUNW,hme on PCI
To: Erik Fair <fair@clock.org>
From: Eduardo E. Horvath <eeh@one-o.com>
List: port-sparc
Date: 03/01/2000 09:16:31
> However, a quick perusal of the NetBSD source tree shows that no one 
> has written a PCI frontend (dev/pci/if_hme.c) for the SUNW,hme 
> (probably because this is a moderately rare item, and mostly seen on 
> Sbus). Is this a quick job?

PCI HME is not all that rare, although it is more of an SBus device.
Creating a PCI front end shouldn't be that hard.  I started working on
that a little while ago, but have not had time to finish.  The biggest
issue is that the SBus version has 5 different `reg' regions but the
PCI version's OBP node doesn't.  But then our PCI infrastructure uses
PCI config space rather than the OBP to find out the register
addresses.

Once you figure out how those regions are laid out in the PCI address
spaces the rest should be pretty straight forward, I would imagine.
The bus interfaces should handle any endianness issues.

=========================================================================
Eduardo Horvath				eeh@netbsd.org
	"I need to find a pithy new quote." -- me