summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/ath.c6
-rw-r--r--sys/dev/pci/if_ath_pci.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index 51939fe7907..d285edd181d 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ath.c,v 1.5 2004/12/31 01:00:23 reyk Exp $ */
+/* $OpenBSD: ath.c,v 1.6 2005/01/03 19:59:18 jsg Exp $ */
/* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */
/*-
@@ -191,6 +191,10 @@ static int ath_xchanmode = AH_TRUE; /* enable extended channels */
static int ath_countrycode = CTRY_DEFAULT; /* country code */
static int ath_regdomain = DMN_DEFAULT; /* regulatory domain */
+struct cfdriver ath_cd = {
+ NULL, "ath", DV_IFNET
+};
+
#ifdef AR_DEBUG
enum {
ATH_DEBUG_XMIT = 0x00000001, /* basic xmit operation */
diff --git a/sys/dev/pci/if_ath_pci.c b/sys/dev/pci/if_ath_pci.c
index 538e5b890b4..6e62213aefd 100644
--- a/sys/dev/pci/if_ath_pci.c
+++ b/sys/dev/pci/if_ath_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ath_pci.c,v 1.3 2004/11/23 09:39:29 reyk Exp $ */
+/* $OpenBSD: if_ath_pci.c,v 1.4 2005/01/03 19:59:18 jsg Exp $ */
/* $NetBSD: if_ath_pci.c,v 1.7 2004/06/30 05:58:17 mycroft Exp $ */
/*-
@@ -108,9 +108,6 @@ struct cfattach ath_pci_ca = {
ath_pci_attach,
ath_pci_detach
};
-struct cfdriver ath_cd = {
- 0, "ath", DV_IFNET
-};
/*
* translate some product code. it is a workaround until HAL gets updated.