Bug#396193: [Yaird-devel] Bug#396193: Patch to recognize openfirmware drivers

Sven Luther sven at powerlinux.fr
Fri Mar 30 20:36:23 CET 2007


On Fri, Mar 30, 2007 at 09:24:25PM +0200, Jonas Smedegaard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bernhard R. Link wrote:
> 
> > Attached patch teaches yaird to recognize openfirmware devices,
> > as they appear in linux 2.6.18.
> > 
> > This makes my sparc with sbus devices work again with yaird and in
> > theory it should also make it not choke on ebus devices the bugreport
> > I'm sending this to is about.
> 
> Thanks alot for your work - and sorry for my late response.
> 
> Unfortunately, it seems to me that your patch will interfere with
> PowerPC machines, that also use OpenFirmware. Looking briefly on a
> Macintosh at hand, it contains devspec files in sysfs too, but not the
> modules.ofmap that your patch seems to rely on.
> 
> Could anyone check if I am right - and perhaps figure out a sane way to
> deal with the different openfirmware implementations?

The future of powerpc plateform drivers, with the move to arch=powerpc, and
everything relying on an openfirmware-like device tree, is to go the
plateform_of way. This does include the powermacs, which is the primary
development plateform of benjamin herrenschmidt, among others, who was
involved in the openfirmware driver move.

As thus, adding support for the openfirmware plateform devices is needed to
continue to have hotplug support for those devices, and vital for yaird.

Friendly,

Sven Luther




More information about the Yaird-devel mailing list