summaryrefslogtreecommitdiff
path: root/www/writing-a-driver.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-19 20:03:47 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-19 20:03:47 -0500
commitc22430b526bf35912aba88dcb249264530cd5128 (patch)
tree89801f03d3b834f68a08d24789e84fcb4e2ff7c2 /www/writing-a-driver.xml
parent901d73928207e94b22e7edcf88df064590161eb6 (diff)
downloadgpsd-c22430b526bf35912aba88dcb249264530cd5128.tar.gz
Added a driver-type flags member to the driver method structure.
All regression tests pass.
Diffstat (limited to 'www/writing-a-driver.xml')
-rw-r--r--www/writing-a-driver.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/writing-a-driver.xml b/www/writing-a-driver.xml
index 8a34d6be..eccf3866 100644
--- a/www/writing-a-driver.xml
+++ b/www/writing-a-driver.xml
@@ -16,6 +16,14 @@
<revhistory>
<revision>
+ <revnumber>1.11</revnumber>
+ <date>19 Jan 2011</date>
+ <authorinitials>er</authorinitials>
+ <revremark>
+ Updated by esr; driver type flag field added.
+ </revremark>
+ </revision>
+ <revision>
<revnumber>1.10</revnumber>
<date>9 Jan 2011</date>
<authorinitials>er</authorinitials>
@@ -598,6 +606,10 @@ packet sniffer and <emphasis>must be unique to each
driver</emphasis>. It is used internally to dispatch to the correct
driver when it collects a complete packet.</para>
+<!-- added by ESR, 2010 -->
+<para><structfield>.flags</structfield> Driver property flags. This
+field is rserved for future expansion.</para>
+
<para><structfield>.trigger</structfield> is the unique string that,
when seen, will confirm your device is present. This will be detected
in <quote><filename>drivers.c</filename></quote> and will probably