summaryrefslogtreecommitdiffstats
path: root/sys/dev/owi/if_owi.c
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2005-08-01 13:51:52 +0000
committeravatar <avatar@FreeBSD.org>2005-08-01 13:51:52 +0000
commit0f4ce3dccbdcc48f900c940ebdfa5e63d4ec0118 (patch)
treeb7daf590795e0cd8bd69dd85fdffb4f599ced2f7 /sys/dev/owi/if_owi.c
parent5032db6d57a3e8e30b4743d50494ce0fe47d0b96 (diff)
downloadFreeBSD-src-0f4ce3dccbdcc48f900c940ebdfa5e63d4ec0118.zip
FreeBSD-src-0f4ce3dccbdcc48f900c940ebdfa5e63d4ec0118.tar.gz
Fixing compilation error by:
- Conforming to the latest ether_ifattach() change; - Moving PCCARD_API_LEVEL to the right place. Reported and Tested by: Vladimir Grebenschikov <vova at fbsd dot ru> MFC after: 3 days
Diffstat (limited to 'sys/dev/owi/if_owi.c')
-rw-r--r--sys/dev/owi/if_owi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/owi/if_owi.c b/sys/dev/owi/if_owi.c
index 18a1e09..3cb1c48 100644
--- a/sys/dev/owi/if_owi.c
+++ b/sys/dev/owi/if_owi.c
@@ -383,7 +383,7 @@ owi_generic_attach(device_t dev)
/*
* Call MI attach routine.
*/
- ether_ifattach(ifp, mac.wi_mac_addr);
+ ether_ifattach(ifp, (const u_int8_t *)mac.wi_mac_addr);
callout_handle_init(&sc->wi_stat_ch);
WI_UNLOCK(sc, s);
OpenPOWER on IntegriCloud