opnsense-ports/misc/estic/files/dtr-off.patch
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
450 B
Diff

--- estic/iccom.cc.orig Thu Feb 20 22:32:48 1997
+++ estic/iccom.cc Mon Aug 15 12:29:16 2005
@@ -148,6 +148,13 @@
// (beginning from version #3).
Port->RTSOn ();
+#ifdef __FreeBSD__
+ // ovb@swissmail.com, 12-Nov-96: Fix of Rev3.
+ // We have to turn the DTR off as this is needed for the power supply.
+ // -> Power is taken from the RTS(+) and the DTR(-) line.
+ Port->DTROff ();
+#endif
+
// Success
return 0;
}