aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/xrpu.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-06-22 10:31:30 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-06-22 10:31:30 +0000
commit378d10a91d8c974338dec9966139a4bf302b393f (patch)
tree29b0bc8cc0775724077880a7aecf20fbfdc6741a /sys/pci/xrpu.c
parent8d5481c633999753f81a521d6132be4d28a82410 (diff)
downloadsrc-378d10a91d8c974338dec9966139a4bf302b393f.tar.gz
src-378d10a91d8c974338dec9966139a4bf302b393f.zip
Pass the current timecounter to pps_event().
Notes
Notes: svn path=/head/; revision=48101
Diffstat (limited to 'sys/pci/xrpu.c')
-rw-r--r--sys/pci/xrpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c
index b8511b3b8db0..08b8d3ddf29e 100644
--- a/sys/pci/xrpu.c
+++ b/sys/pci/xrpu.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: xrpu.c,v 1.11 1999/05/30 16:53:37 phk Exp $
+ * $Id: xrpu.c,v 1.12 1999/05/31 11:29:04 phk Exp $
*
* A very simple device driver for PCI cards based on Xilinx 6200 series
* FPGA/RPU devices. Current Functionality is to allow you to open and
@@ -110,7 +110,7 @@ xrpu_poll_pps(struct timecounter *tc)
count1 = ppscount;
ppscount = *(sc->assert[i]) & tc->tc_counter_mask;
} while (ppscount != count1);
- pps_event(&sc->pps[i], &sc->tc, ppscount, PPS_CAPTUREASSERT);
+ pps_event(&sc->pps[i], tc, ppscount, PPS_CAPTUREASSERT);
}
if (sc->clear[i]) {
ppscount = *(sc->clear[i]) & tc->tc_counter_mask;
@@ -118,7 +118,7 @@ xrpu_poll_pps(struct timecounter *tc)
count1 = ppscount;
ppscount = *(sc->clear[i]) & tc->tc_counter_mask;
} while (ppscount != count1);
- pps_event(&sc->pps[i], &sc->tc, ppscount, PPS_CAPTURECLEAR);
+ pps_event(&sc->pps[i], tc, ppscount, PPS_CAPTURECLEAR);
}
}
}