1/* 2 * Beceem WiMax USB Driver 3 * Copyright 2010-2011 Haiku, Inc. All rights reserved. 4 * Distributed under the terms of the MIT license. 5 * 6 * Authors: 7 * Alexander von Gluck, <kallisti5@unixzen.com> 8 * 9 * Partially using: 10 * USB Ethernet Control Model devices 11 * (c) 2008 by Michael Lotz, <mmlr@mlotz.ch> 12 * ASIX AX88172/AX88772/AX88178 USB 2.0 Ethernet Driver 13 * (c) 2008 by S.Zharski, <imker@gmx.li> 14 */ 15#ifndef _USB_BECEEM_SETTINGS_H_ 16#define _USB_BECEEM_SETTINGS_H_ 17 18 19#include <driver_settings.h> 20#include "Driver.h" 21 22 23void load_settings(); 24void release_settings(); 25 26void usb_beceem_trace(bool force, const char *func, const char *fmt, ...); 27 28#define TRACE(x...) usb_beceem_trace(false, __func__, x) 29#define TRACE_ALWAYS(x...) usb_beceem_trace(true, __func__, x) 30 31extern bool gTraceFlow; 32#define TRACE_FLOW(x...) usb_beceem_trace(gTraceFlow, NULL, x) 33 34#define TRACE_RET(result) usb_beceem_trace(false, __func__, \ 35 "Returns:%#010x\n", result); 36 37#endif /*_USB_BECEEM_SETTINGS_H_*/ 38 39