BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / drivers / network / usb_asix / AX88178Device.h
blob2387b3e81e40a5a728d1ae4c744f1e185b6aa792
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_AX88178_DEVICE_H_
13 #define _USB_AX88178_DEVICE_H_
16 #include "ASIXDevice.h"
19 class AX88178Device : public ASIXDevice {
20 public:
21 AX88178Device(usb_device device, DeviceInfo& info);
22 protected:
23 status_t InitDevice();
24 virtual status_t SetupDevice(bool deviceReplugged);
25 virtual status_t StartDevice();
26 virtual status_t OnNotify(uint32 actualLength);
27 virtual status_t GetLinkState(ether_link_state *state);
30 #endif // _USB_AX88178_DEVICE_H_