idualwifi7260 & iaxwifi200: Use the Haiku gDriverName instead of hardcoding.
This also will fix what name appears in the syslog.
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
|
||||
#ifdef __FreeBSD_version
|
||||
#include <sys/device.h>
|
||||
#define DEVNAME(_s) "iwx"
|
||||
#define DEVNAME(_s) gDriverName
|
||||
#define SC_DEV_FOR_PCI sc->sc_dev
|
||||
#define ifq_is_oactive(IFQ) ((if_getdrvflags(ifp) & IFF_DRV_OACTIVE) != 0)
|
||||
#define ifq_set_oactive(IFQ) if_setdrvflagbits(ifp, IFF_DRV_OACTIVE, 0)
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
|
||||
#ifdef __FreeBSD_version
|
||||
#include <sys/device.h>
|
||||
#define DEVNAME(_s) "iwm"
|
||||
#define DEVNAME(_s) gDriverName
|
||||
#define SC_DEV_FOR_PCI sc->sc_dev
|
||||
#define ifq_is_oactive(IFQ) ((if_getdrvflags(ifp) & IFF_DRV_OACTIVE) != 0)
|
||||
#define ifq_set_oactive(IFQ) if_setdrvflagbits(ifp, IFF_DRV_OACTIVE, 0)
|
||||
|
||||
Reference in New Issue
Block a user