summaryrefslogtreecommitdiff
path: root/comms/vpb-driver/files/patch-src-hip.cpp
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-11-11 10:06:14 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-11-11 10:06:14 +0000
commite6e189732de4c41d064767365523448301a50066 (patch)
treea1af9b217fb7d07279a7fbe879184494c4999602 /comms/vpb-driver/files/patch-src-hip.cpp
parent- Update to 0.15 (diff)
Add vpb-driver 2.4.9, device-driver for the Voicetronix OpenLine4 PCI
telephony cards. This is a port of the 4.x driver from the vendor, for 5.x. PR: ports/77471 Submitted by: Chris Forkin <chris@forkin.com>
Notes
Notes: svn path=/head/; revision=147899
Diffstat (limited to 'comms/vpb-driver/files/patch-src-hip.cpp')
-rw-r--r--comms/vpb-driver/files/patch-src-hip.cpp48
1 files changed, 48 insertions, 0 deletions
diff --git a/comms/vpb-driver/files/patch-src-hip.cpp b/comms/vpb-driver/files/patch-src-hip.cpp
new file mode 100644
index 000000000000..650c4a45b7d8
--- /dev/null
+++ b/comms/vpb-driver/files/patch-src-hip.cpp
@@ -0,0 +1,48 @@
+--- src/hip.cpp Wed Aug 25 11:41:56 2004
++++ src/hip.cpp Mon Mar 14 11:54:38 2005
+@@ -85,12 +85,10 @@
+ word *buf) = 0;
+ virtual void ReadDspSram(USHORT board, USHORT addr, USHORT length,
+ word *buf) = 0;
+-#ifndef __FreeBSD__
+ virtual void WriteIic(USHORT board, USHORT addr, USHORT length,
+ word *buf) = 0;
+ virtual void ReadIic(USHORT board, USHORT addr, USHORT length,
+ word *buf) = 0;
+-#endif
+ virtual void EeRead(USHORT board, USHORT addr, USHORT length,
+ word *buf) = 0;
+ virtual void SetPip(USHORT board, char enables) = 0;
+@@ -295,7 +293,6 @@
+ d->ReadDspSram(board, addr, length, buf);
+ }
+
+-#ifndef __FreeBSD__
+ /*-------------------------------------------------------------------------*\
+
+ FUNCTION.: Hip::WriteIic
+@@ -334,8 +331,6 @@
+ d->ReadIic(board, addr, length, buf);
+ }
+
+-#endif
+-
+ /*-------------------------------------------------------------------------*\
+
+ FUNCTION.: Hip::EeRead
+@@ -945,7 +940,6 @@
+ GenericLeaveCriticalSection(&HipSect);
+ }
+
+-#ifndef __FreeBSD__
+ /*-------------------------------------------------------------------------*\
+
+ FUNCTION.: HipDataPCI::WriteIic
+@@ -1011,7 +1005,6 @@
+
+ GenericLeaveCriticalSection(&HipSect);
+ }
+-#endif
+
+ /*-------------------------------------------------------------------------*\
+