[coreboot] Changes for removing IDs from dts, etc. etc.

Stefan Reinauer stepan at coresystems.de
Sat Feb 16 16:24:10 CET 2008


* ron minnich <rminnich at gmail.com> [080215 19:23]:
> Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
 
> --- include/device/device.h	(revision 600)
> +++ include/device/device.h	(working copy)
> @@ -195,6 +195,9 @@
>  	struct device *	next;		/* chain of all devices */
>  
>  	struct device_path path;
> +	/* note there is a device id maintained here. This covers the special case
> +	 * of default_device_operations, which has an id of zero. 
> +	 */

Uh, when exactly is that special case used?

> @@ -268,7 +271,7 @@
>  struct device * dev_find_class (unsigned int class, struct device * from);
>  struct device * dev_find_slot (unsigned int bus, unsigned int devfn);
>  struct device * dev_find_slot_on_smbus (unsigned int bus, unsigned int addr);
> -void default_device_constructor(struct device *dev, struct constructor *constructor);
> +void default_device_constructor(struct device *dev, struct device_operations *constructor);
 
default_device_operations?


I think this is the way to go.

Acked-by: Stefan Reinauer <stepan at coresystems.de>




-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866




More information about the coreboot mailing list