summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-02 22:36:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-02 22:36:46 +0000
commit117f27b8abc374d52ab98572c834700a898efe9e (patch)
treeced1f784c02d61c986560cfc68c0528060f9d69e /sys/dev/pci/hifn7751.c
parent22707610051889089722d9b9010ea4cc1d07b25c (diff)
callback is always static
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r--sys/dev/pci/hifn7751.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index 491258812f5..b543e949f82 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.38 2000/05/04 02:23:16 jason Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.39 2000/06/02 22:36:44 deraadt Exp $ */
/*
* Invertex AEON / Hi/fn 7751 driver
@@ -1047,8 +1047,7 @@ hifn_intr(arg)
macbuf += 12;
}
- /* position is done, notify producer with callback */
- cmd->dest_ready_callback(sc, cmd, macbuf);
+ hifn_callback(sc, cmd, macbuf);
if (++dma->resk == HIFN_D_RES_RSIZE)
dma->resk = 0;
@@ -1326,7 +1325,6 @@ hifn_process(crp)
if (sc->sc_sessions[session].hs_flags == 1)
sc->sc_sessions[session].hs_flags = 2;
- cmd->dest_ready_callback = hifn_callback;
cmd->private_data = (u_long)crp;
cmd->session_num = session;
cmd->softc = sc;