summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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 0f0ce00..6b92a35 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 eaad88f..574c80d 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 5e10c0f..713a893 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 403d641..14d0360 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);
OpenPOWER on IntegriCloud