Hi Greg,

As you pointed out, PCH_PHUB patch should be implemented with sysfs interface.

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.

Another way to implement PCH_PHUB driver is mmap the kernel space to user 
space. Perhaps it’s better.

Anyway would you please give us a right way for this driver.

Hi OKI-sans,

Would you please send those email directly to Meego-Dev next time?

Best Regards,
Qi.

From: Tomoya MORINAGA [mailto:[email protected]]
Sent: Tuesday, August 10, 2010 2:41 PM
To: Wang, Qi; Wang, Yong Y
Cc: Khor, Andrew Chih Howe; okada; shimizu; miyata; Masayuki Ohtake
Subject: About sysfs data size limitaion

Hi Qi-san

I am studying sysfs.
I have a question for sysfs data size limitation.
I find the following description.

Documentation/filesystems/sysfs.txt
- The buffer will always be PAGE_SIZE bytes in length. On i386, this
  is 4096.

Option ROM data is 15361Byte.
Can Phub driver with sysfs I/F write/read 15361byte data?

Thanks, MORINAGA

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
Tomoya Morinaga
OKI SEMICONDUCTOR CO., LTD.

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to