aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/digi/digi.c2
-rw-r--r--sys/dev/digi/digi.h2
-rw-r--r--sys/dev/digi/digi_isa.c1
-rw-r--r--sys/dev/digi/digi_pci.c1
4 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c
index 0f0ce0046cf3..6b92a35360fb 100644
--- a/sys/dev/digi/digi.c
+++ b/sys/dev/digi/digi.c
@@ -106,7 +106,7 @@ struct con_bios {
};
static struct con_bios *con_bios_list;
-static devclass_t digi_devclass;
+devclass_t digi_devclass;
static char driver_name[] = "digi";
unsigned digi_debug = 0;
diff --git a/sys/dev/digi/digi.h b/sys/dev/digi/digi.h
index eaad88fee636..574c80d844b0 100644
--- a/sys/dev/digi/digi.h
+++ b/sys/dev/digi/digi.h
@@ -206,6 +206,8 @@ struct digi_softc {
#endif
};
+extern devclass_t digi_devclass;
+
extern const struct digi_control_signals digi_xixe_signals;
extern const struct digi_control_signals digi_normal_signals;
diff --git a/sys/dev/digi/digi_isa.c b/sys/dev/digi/digi_isa.c
index 5e10c0f657d0..713a8933b8c5 100644
--- a/sys/dev/digi/digi_isa.c
+++ b/sys/dev/digi/digi_isa.c
@@ -469,3 +469,4 @@ static driver_t digi_isa_drv = {
digi_isa_methods,
sizeof(struct digi_softc),
};
+DRIVER_MODULE(digi, isa, digi_isa_drv, digi_devclass, 0, 0);
diff --git a/sys/dev/digi/digi_pci.c b/sys/dev/digi/digi_pci.c
index 403d6416ebd8..14d036072ae2 100644
--- a/sys/dev/digi/digi_pci.c
+++ b/sys/dev/digi/digi_pci.c
@@ -225,3 +225,4 @@ static driver_t digi_pci_drv = {
digi_pci_methods,
sizeof(struct digi_softc),
};
+DRIVER_MODULE(digi, pci, digi_pci_drv, digi_devclass, 0, 0);