summaryrefslogtreecommitdiffstats
path: root/sys/dev/awi
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2006-12-12 03:05:04 +0000
committerkevlo <kevlo@FreeBSD.org>2006-12-12 03:05:04 +0000
commit114b7df825529c758df31aa3a412dc9d38456faf (patch)
treeac56a3858a16bbc8217f3d9668924b3ecc91eb84 /sys/dev/awi
parent143e23a6dc43bd7c1f3d72190bb7e0a57b4d68b9 (diff)
downloadFreeBSD-src-114b7df825529c758df31aa3a412dc9d38456faf.zip
FreeBSD-src-114b7df825529c758df31aa3a412dc9d38456faf.tar.gz
In FreeBSD, we don't need sc_power callback
Approved by: cognet and imp
Diffstat (limited to 'sys/dev/awi')
-rw-r--r--sys/dev/awi/awivar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/awi/awivar.h b/sys/dev/awi/awivar.h
index 25934ab..f805b8f 100644
--- a/sys/dev/awi/awivar.h
+++ b/sys/dev/awi/awivar.h
@@ -76,6 +76,7 @@ struct awi_chanset {
struct awi_softc {
#ifdef __NetBSD__
struct device sc_dev;
+ void (*sc_power)(struct awi_softc *, int);
#endif
#ifdef __FreeBSD__
struct arpcom sc_arp;
@@ -86,7 +87,6 @@ struct awi_softc {
u_char sc_banner[AWI_BANNER_LEN];
int (*sc_enable)(struct awi_softc *);
void (*sc_disable)(struct awi_softc *);
- void (*sc_power)(struct awi_softc *, int);
int (*sc_newstate)(struct ieee80211com *,
enum ieee80211_state, int);
OpenPOWER on IntegriCloud