On Tue, Aug 10, 2010 at 03:35:59PM +0800, Wang, Qi wrote: > Hi Greg, > > As you pointed out, PCH_PHUB patch should be implemented with sysfs interface.
Yes. > PCH_PHUB driver need access 15,361 Byte option ROM, but on i386, the > buffer will be 4096B. With this kind of way, we need several buffer. Nope, just use a single sysfs file, a "binary" sysfs file, which will allow you to mmap the rom and do all sorts of things to it from userspace, which is exactly what you are wanting to do, right? > Another way to implement PCH_PHUB driver is mmap the kernel space to > user space. Perhaps it’s better. Nope, just use a binary sysfs file please. thanks, greg k-h _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
