From: Ducrot B. <du...@po...> - 2004-01-07 12:40:55
|
On Wed, Jan 07, 2004 at 07:57:54PM +0800, Yu, Luming wrote: > >The EC is a child of other devices and you > >have to be sure that those devices are initialized before EC (even > >though that is done by BIOS at POST already, due to legacy access > >in some laptops). > > One point is that my patch don't want to fully initialize EC devices. > It just want to get EC resource to init EC addresspace handler , > Although the patch looks ugly. > > The motivation is just to have EC address space > handler ready for devices that get initialized before EC devices on > laptop without ECDT. If this attempt is failed due to what you > said, then ECDT is necessary. > > At least, it seems to work for gateway laptop. Of cause, it need to be > refined. Oh, I'm not against this approach, but I wanted to point you some possible issues. I see 3 ways for now to go: 1- your approach, 2- make a kind of setup option, like the patch I send some time ago, in order to fake an ECDT, but simplified (the IO ports should be the only options). But that require another boot option. 3- an error runtime handler, which initialize the address space handler for the EC if not already done, and then retry. I don't know what is best. -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. |