Re: apic-to-drivermodel conversion

From: Pavel Machek (pavel@ucw.cz)
Date: Wed Mar 19 2003 - 09:06:10 EST


Hi!

> > > This converts apic code to use driver model. It is neccessary for S3
> > > when you are using apic.
> >
> > Seems to be missing something.
> >
> > arch/i386/kernel/apm.c: In function `suspend':
> > arch/i386/kernel/apm.c:1242: warning: implicit declaration of function `device_suspend'
> > arch/i386/kernel/apm.c:1242: `SUSPEND_POWER_DOWN' undeclared (first use in this function)
> > arch/i386/kernel/apm.c:1242: (Each undeclared identifier is reported only once
> > arch/i386/kernel/apm.c:1242: for each function it appears in.)
> > arch/i386/kernel/apm.c:1264: warning: implicit declaration of function `device_resume'
> > arch/i386/kernel/apm.c:1264: `RESUME_POWER_ON' undeclared (first use in this function)
> > arch/i386/kernel/apm.c: In function `check_events':
> > arch/i386/kernel/apm.c:1378: `RESUME_POWER_ON' undeclared (first use in this function)
>
> Try this patch instead. This is my merge of my and Pavel's earlier
> patches, so it differs from Pavel's in some details.

I tried it... Oops at kobject_add, called from device_add,
device_initialize, ..., init. This is on machine that does have
lapic. I'll try to do clean build to see if it goes away.

No, it still dies after ds: no socket drivers.

                                                                Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:27 EST