diff --git a/doc/sample_driver.c b/doc/sample_driver.c index 0e12e20..108bfcf 100644 --- a/doc/sample_driver.c +++ b/doc/sample_driver.c @@ -24,6 +24,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. $Log$ + Revision 1.1 2004/04/27 12:04:24 reddawg + Sample driver for isa interface + $Id$ @@ -52,12 +55,12 @@ } -int sampleRead(struct deviceNode *dev) { +int sampleRead(struct deviceNode *dev,void *ptr,uInt32 offset,uInt32 length) { /* Read From Device */ return(0); } -int sampleWrite(struct deviceNode *dev) { +int sampleWrite(struct deviceNode *dev,void *ptr,uInt32 offset,uInt32 length) { /* WritE to Device */ return(0); }