aboutsummaryrefslogtreecommitdiffstats
path: root/comms/mlan/files/patch-aa
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-01-04 22:11:45 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-01-04 22:11:45 +0000
commit130997ebdc0d668fb25dd3d03721f5ed03f918cb (patch)
tree39ea4e85907095f427d9b9239f12b93a33bdca48 /comms/mlan/files/patch-aa
parent34e78dcbf865aa26c803675b79bf8309b8f5464f (diff)
mlan is a of Dallas Semiconductors "TMEX" API for 1-wire / microlan
devices. Only DS2480 bases serial port attachment is supported. Reviewed by: cpiazza
Diffstat (limited to 'comms/mlan/files/patch-aa')
-rw-r--r--comms/mlan/files/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/mlan/files/patch-aa b/comms/mlan/files/patch-aa
new file mode 100644
index 000000000000..f0d32b32bcfb
--- /dev/null
+++ b/comms/mlan/files/patch-aa
@@ -0,0 +1,22 @@
+diff -u --new-file -r ../R1/source/apps/tstmlane/tstmlane.c ./source/apps/tstmlane/tstmlane.c
+--- ../R1/source/apps/tstmlane/tstmlane.c Tue Jun 8 01:03:00 1999
++++ ./source/apps/tstmlane/tstmlane.c Tue Jan 4 21:32:02 2000
+@@ -36,7 +36,6 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <windows.h>
+ #include "mlan.h"
+
+ // external MLan functions to test
+diff -u --new-file -r ../R1/source/lib/userial/ds2480ut.c ./source/lib/userial/ds2480ut.c
+--- ../R1/source/lib/userial/ds2480ut.c Tue Jun 8 01:03:00 1999
++++ ./source/lib/userial/ds2480ut.c Tue Jan 4 21:23:04 2000
+@@ -92,6 +92,7 @@
+ if (WriteCOM(1,sendpacket) != 1)
+ return FALSE;
+
++ sendpacket[sendlen++] = 0xC1;
+ // set the FLEX configuration parameters
+ // default PDSRC = 1.37Vus
+ sendpacket[sendlen++] = CMD_CONFIG | PARMSEL_SLEW | PARMSET_Slew1p37Vus;