Re: [PATCH 1/4] drivers/misc: add rawio framework driver

2013-10-22 Thread Bin Gao
On Tue, Oct 22, 2013 at 06:45:38AM +0100, Greg Kroah-Hartman wrote: > > Oh, one more technical thing, you totally fail to document the > user/kernel api you have just created. Yes, this is required to be done. Will fix it. > You are parsing userspace data in ways that I really don't understand a

Re: [PATCH 1/4] drivers/misc: add rawio framework driver

2013-10-21 Thread Greg Kroah-Hartman
On Mon, Oct 21, 2013 at 05:03:20PM -0700, Bin Gao wrote: > Rawio provides a framework to read/write registers from a bus, including > pci, i2c, I/O device(memory mapped), etc. based on debug fs. > Rawio bus drivers implement the read/write operation on a specific bus > on top of the rawio framework

[PATCH 1/4] drivers/misc: add rawio framework driver

2013-10-21 Thread Bin Gao
Rawio provides a framework to read/write registers from a bus, including pci, i2c, I/O device(memory mapped), etc. based on debug fs. Rawio bus drivers implement the read/write operation on a specific bus on top of the rawio framework driver. They are designed to help device driver and kernel debug