Ali Saidi | 3512904 | 2004-07-05 15:49:42 -0400 | [diff] [blame] | 1 | This driver will read the address you point it to [count] times and |
| 2 | print the results to the systemlog. |
| 3 | |
| 4 | To build the driver (Linux 2.6.X only) execute: |
| 5 | make -C /path/to/linux-2.6.X/ SUBDIRS=$PWD modules |
| 6 | |
| 7 | |
| 8 | Insmodding the kernel module without options will print |
| 9 | the device addresses of eth0 and eth1 if they exist. |
| 10 | |
| 11 | Insmodding the kernel module with the options: |
| 12 | dataAddr=0xXXXXXXXXX and count=XXXXX |
| 13 | |
| 14 | will read a long at addr dataAddr count times and return. |
| 15 | |
| 16 | Between runs you need to rmmod the module from the kernel. |
| 17 | |
| 18 | |