BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / drivers / network / usb_asix / Driver.h
blobea4e30920c2c3070e62f9cbe4f68d3217026ae60
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_DRIVER_H_
13 #define _USB_ASIX_DRIVER_H_
16 #include <Drivers.h>
17 #include <USB3.h>
20 #define DRIVER_NAME "usb_asix"
21 #define MAX_DEVICES 8
24 const uint8 kInvalidRequest = 0xff;
25 const char* const kVersion = "ver.0.10.1";
26 extern usb_module_info *gUSBModule;
29 extern "C" {
30 status_t usb_asix_device_added(usb_device device, void **cookie);
31 status_t usb_asix_device_removed(void *cookie);
33 status_t init_hardware();
34 void uninit_driver();
36 const char **publish_devices();
37 device_hooks *find_device(const char *name);
41 #endif // _USB_ASIX_DRIVER_H_