linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] fix sata_sil compilation on non-DMI platforms
       [not found] ` <4A086A76.3090008@garzik.org>
@ 2009-05-11 18:44   ` Alan Cox
  2009-05-11 22:31     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2009-05-11 18:44 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: linux-ide, Konstantinos Margaritis, linuxppc-dev,
	Lennert Buytenhek, Lennart Sorensen, rmk

> Ideally the DMI subsystem should be provided wrappers for platforms 
> without DMI, rendering patches like this unnecessary.

Interesting question - is the PPC OpenFirmware machine information
mappable onto the DMI space ? or the various static bits of name
information in the various ARM and the like machine descriptions.

If not which bits are similar enough we could replace dmi at the high
level with an abstract interface for system/vendor/... that was ?

(

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

* Re: [PATCH] fix sata_sil compilation on non-DMI platforms
  2009-05-11 18:44   ` [PATCH] fix sata_sil compilation on non-DMI platforms Alan Cox
@ 2009-05-11 22:31     ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2009-05-11 22:31 UTC (permalink / raw)
  To: Alan Cox
  Cc: Jeff Garzik, linuxppc-dev, Konstantinos Margaritis, linux-ide,
	rmk, Lennart Sorensen, Lennert Buytenhek

On Mon, 2009-05-11 at 19:44 +0100, Alan Cox wrote:
> > Ideally the DMI subsystem should be provided wrappers for platforms 
> > without DMI, rendering patches like this unnecessary.
> 
> Interesting question - is the PPC OpenFirmware machine information
> mappable onto the DMI space ? or the various static bits of name
> information in the various ARM and the like machine descriptions.
> 
> If not which bits are similar enough we could replace dmi at the high
> level with an abstract interface for system/vendor/... that was ?

The one thing we could try to map would be the device-tree "compatible"
property which would contain vendor,system tuples from more specific to
more generic with which the machine is compatible with.

Of course I would argue the other way around and create a device-tree
from the DMI data :-)

Cheers,
Ben.

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

end of thread, other threads:[~2009-05-11 22:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200905062009.28087.markos@codex.gr>
     [not found] ` <4A086A76.3090008@garzik.org>
2009-05-11 18:44   ` [PATCH] fix sata_sil compilation on non-DMI platforms Alan Cox
2009-05-11 22:31     ` 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).