stub for driver testing (was Re: lm87 ported to Linux 2.6)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 23, 2004 at 11:42:44PM -0400, Mark M. Hoffman wrote:
> Hi Jean:
> 
> (CCs trimmed on purpose)
> 
> * Jean Delvare <khali at linux-fr.org> [2004-08-23 21:52:06 +0200]:
> > This first patch is untested beyond compilation, as I don't own a LM87
> > myself. This is why I rely on you for testing. The more testers there
> 
> Attached is a quick hack that makes this (testing a driver for h/w you
> don't own) a little easier.  It would be even more useful if it wrote to
> a file instead of spamming all those printks - I'll do that if people
> want it.
> 
> You'll probably need to pass force_foo parameters to the chip driver to
> get it to attach. Also be warned: if the driver has any polling loops
> which wait for some byte/data to change, this bus stub could lock it up.
> 
> Stuff like this probably isn't appropriate for kernel.org (Greg?)

Why not?  It looks useful to me.  Care to send me a patch adding this to
the main kernel tree?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux