summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wi.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-05-20 17:29:21 +0000
committerimp <imp@FreeBSD.org>2009-05-20 17:29:21 +0000
commit3ca3ea71908ddf43687ac7777906573c31fea480 (patch)
tree57c7e52b00a944272cad04dc847cef00b88197de /sys/dev/wi/if_wi.c
parent033485e00c6bc9bfdac65bf91b70df092b730e27 (diff)
downloadFreeBSD-src-3ca3ea71908ddf43687ac7777906573c31fea480.zip
FreeBSD-src-3ca3ea71908ddf43687ac7777906573c31fea480.tar.gz
We no longer need to use d_thread_t, migrate to struct thread *.
Diffstat (limited to 'sys/dev/wi/if_wi.c')
-rw-r--r--sys/dev/wi/if_wi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 3dce847..3dc329b 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -143,7 +143,6 @@ static int wi_alloc_fid(struct wi_softc *, int, int *);
static void wi_read_nicid(struct wi_softc *);
static int wi_write_ssid(struct wi_softc *, int, u_int8_t *, int);
-static int wi_cmd(struct wi_softc *, int, int, int, int);
static int wi_seek_bap(struct wi_softc *, int, int);
static int wi_read_bap(struct wi_softc *, int, int, void *, int);
static int wi_write_bap(struct wi_softc *, int, int, void *, int);
@@ -1801,7 +1800,7 @@ wi_write_wep(struct wi_softc *sc, struct ieee80211vap *vap)
return error;
}
-static int
+int
wi_cmd(struct wi_softc *sc, int cmd, int val0, int val1, int val2)
{
int i, s = 0;
@@ -2120,3 +2119,5 @@ wi_free(device_t dev)
sc->mem = NULL;
}
}
+
+MODULE_VERSION(wi, 1);
OpenPOWER on IntegriCloud