summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r--sys/dev/hfa/fore_var.h1
-rw-r--r--sys/dev/hfa/hfa_freebsd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/hfa/fore_var.h b/sys/dev/hfa/fore_var.h
index 20856e8..6f7dd4c 100644
--- a/sys/dev/hfa/fore_var.h
+++ b/sys/dev/hfa/fore_var.h
@@ -245,6 +245,7 @@ typedef struct fore_unit Fore_unit;
#define fu_closevcc fu_cmn.cu_closevcc
#define fu_output fu_cmn.cu_output
#define fu_config fu_cmn.cu_config
+#define fu_softc fu_cmn.cu_softc
/*
* Device flags (in addition to CUF_* flags)
diff --git a/sys/dev/hfa/hfa_freebsd.c b/sys/dev/hfa/hfa_freebsd.c
index 40af3f8..67e4e76 100644
--- a/sys/dev/hfa/hfa_freebsd.c
+++ b/sys/dev/hfa/hfa_freebsd.c
@@ -176,6 +176,7 @@ hfa_attach (device_t dev)
fup->fu_openvcc = fore_openvcc;
fup->fu_closevcc = fore_closevcc;
fup->fu_output = fore_output;
+ fup->fu_softc = (void *)sc;
callout_handle_init(&fup->fu_thandle);
OpenPOWER on IntegriCloud