mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
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
This commit is contained in:
parent
22247a2a38
commit
0b1ae45dc5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148620
@ -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);
|
||||
|
||||
|
@ -59,8 +59,8 @@
|
||||
#include <net/if_types.h>
|
||||
#include <dev/owi/if_ieee80211.h>
|
||||
|
||||
#include <dev/pccard/pccardvar.h>
|
||||
#define PCCARD_API_LEVEL 5
|
||||
#include <dev/pccard/pccardvar.h>
|
||||
#include "pccarddevs.h"
|
||||
|
||||
#include <dev/wi/if_wavelan_ieee.h>
|
||||
|
Loading…
Reference in New Issue
Block a user