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
@ -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