/* * ASIX AX88172/AX88772/AX88178 USB 2.0 Ethernet Driver. * Copyright (c) 2008, 2011 S.Zharski * Distributed under the terms of the MIT license. * * Heavily based on code of the * Driver for USB Ethernet Control Model devices * Copyright (C) 2008 Michael Lotz * Distributed under the terms of the MIT license. * */ #ifndef _USB_AX88172_DEVICE_H_ #define _USB_AX88172_DEVICE_H_ #include "ASIXDevice.h" class AX88172Device : public ASIXDevice { public: AX88172Device(usb_device device, DeviceInfo& info); protected: status_t InitDevice(); virtual status_t SetupDevice(bool deviceReplugged); virtual status_t StartDevice(); virtual status_t OnNotify(uint32 actualLength); virtual status_t GetLinkState(ether_link_state *state); }; #endif // _USB_AX88172_DEVICE_H_