BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / drivers / network / usb_asix / Settings.h
blob31baad54b8a2b86f650e4684cf7e437fa2d23f4c
1 /*
2 * ASIX AX88172/AX88772/AX88178 USB 2.0 Ethernet Driver.
3 * Copyright (c) 2008, 2011 S.Zharski <imker@gmx.li>
4 * Distributed under the terms of the MIT license.
6 * Heavily based on code of the
7 * Driver for USB Ethernet Control Model devices
8 * Copyright (C) 2008 Michael Lotz <mmlr@mlotz.ch>
9 * Distributed under the terms of the MIT license.
12 #ifndef _USB_ASIX_SETTINGS_H_
13 #define _USB_ASIX_SETTINGS_H_
16 #include <driver_settings.h>
18 #include "Driver.h"
21 void load_settings();
22 void release_settings();
24 void usb_asix_trace(bool force, const char *func, const char *fmt, ...);
27 #define TRACE(x...) usb_asix_trace(false, __func__, x)
28 #define TRACE_ALWAYS(x...) usb_asix_trace(true, __func__, x)
30 extern bool gTraceFlow;
31 #define TRACE_FLOW(x...) usb_asix_trace(gTraceFlow, NULL, x)
33 #define TRACE_RET(result) usb_asix_trace(false, __func__, \
34 "Returns:%#010x\n", result);
37 #endif // _USB_ASIX_SETTINGS_H_