Files
haiku-beta6/src/add-ons/kernel/drivers/network/usb_asix/AX88172Device.h
T
Siarzhuk Zharski 1724ebde55 usb_asix driver refactoring:
* work with multicast filter table implemented;
* new device lookup and creation procedure: avoid duplication 
  of supported devices information;
* coding style fixes;
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-18 16:47:47 +00:00

32 lines
828 B
C++

/*
* ASIX AX88172/AX88772/AX88178 USB 2.0 Ethernet Driver.
* Copyright (c) 2008, 2011 S.Zharski <[email protected]>
* 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 <[email protected]>
* 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_