* ron minnich <[EMAIL PROTECTED]> [080215 19:23]:
> Signed-off-by: Ronald G. Minnich <[EMAIL PROTECTED]>
> --- 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 <[EMAIL PROTECTED]>
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED] • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot