Fix version and update README
authorPete Batard <pete@akeo.ie>
Tue, 10 Nov 2015 11:06:31 +0000 (11:06 +0000)
committerPete Batard <pete@akeo.ie>
Tue, 10 Nov 2015 11:06:31 +0000 (11:06 +0000)
README.md
parrot_driver.h

index 77c1b54..5702cbb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,23 +4,30 @@ Parrot Linux device driver sample
 This is a GPLv2+ sample implementation of a character device driver
 for Linux 2.6 and later, based on [udev](https://en.wikipedia.org/wiki/Udev).
 
-From more background information as well as a detailed walkthrough, 
-see the following [blog post](http://pete.akeo.ie/2011/08/writing-linux-device-driver-for-kernels.html).
+For more background information as well as a detailed source walkthrough, see
+the following [blog post](http://pete.akeo.ie/2011/08/writing-linux-device-driver-for-kernels.html).
 
-* __Requirements__:
-  * gcc
-  * A recent Linux kernel (with its source)
+Requirements
+------------
 
-* __Compilation__:
-  * Just invoke `make` as root
+* gcc
+* A recent Linux kernel (with its source)
 
-* __Testing__:
-  * `insmod parrot_driver.ko debug=1`
-  * `lsmod | grep parrot`
-  * `echo "Yabba Dabba Doo" > /sys/devices/virtual/parrot/parrot_device/fifo`
-  * `cat /dev/parrot_device`
+Compilation
+-----------
 
-* __Notes__:
+* Just invoke `make` as root
+
+Testing
+-------
+
+* `insmod parrot_driver.ko debug=1`
+* `lsmod | grep parrot`
+* `echo "Yabba Dabba Doo" > /sys/devices/virtual/parrot/parrot_device/fifo`
+* `cat /dev/parrot_device`
+
+Notes
+-----
 
 On a Debian system, and if you haven't recompiled a kernel before, you may
 have to issue the following before you can compile and run the driver:
index a613237..e2415ee 100644 (file)
@@ -25,7 +25,7 @@
 
 #define AUTHOR "Pete Batard <pete@akeo.ie>"
 #define DESCRIPTION "'parrot' sample device driver"
-#define VERSION "0.3"
+#define VERSION "1.2"
 
 /* We'll use our own macros for printk */
 #define dbg(format, arg...) do { if (debug) pr_info(CLASS_NAME ": %s: " format , __FUNCTION__ , ## arg); } while (0)