bxe: fake out if_setflags/if_getflags
authorRon Minnich <rminnich@gmail.com>
Sat, 17 Jan 2015 01:30:37 +0000 (17:30 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 15:12:28 +0000 (10:12 -0500)
Signed-off-by: Ron Minnich <rminnich@gmail.com>
kern/drivers/net/bxe/bxe.h

index f9e2cbe..93c4061 100644 (file)
@@ -69,6 +69,10 @@ typedef uint64_t uintmax_t;
 #define bus_dmamap_sync(...)
 #define bus_dmamap_unload(...)
 
+// All the flag values are wrong for now; ignore them.
+#define if_getflags(netif) (netif)->feat
+#define if_setflags(sc)
+
 /* FreeBSD x86/include/bus.h
  * Bus read/write barrier methods.
  *