home *** CD-ROM | disk | FTP | other *** search
/ ftp.sustworks.com 2018 / ftp.sustworks.com.zip / ftp.sustworks.com / USBAx8817x_101.dmg / src / Source / USBAx88772.h < prev   
C/C++ Source or Header  |  2005-10-08  |  2KB  |  43 lines

  1. /*
  2.     File:         USBAx881772.h
  3.  
  4.     Description:  Driver for USBAx8817x USB-To-Ethernet devices
  5.  
  6.     Copyright:    Copyright 2005, Daniel Sumorok and Peter Sichel
  7.         
  8.     Disclaimer:   This program is free software; you can redistribute it
  9.                   and/or modify it under the terms of the GNU General
  10.                   Public License as published by the Free Software
  11.                   Foundation; either version 2, or (at your option)
  12.                   any later version.
  13.  
  14.                   This program is distributed in the hope that it will
  15.                   be useful, but WITHOUT ANY WARRANTY; without even
  16.                   the implied warranty of MERCHANTABILITY or FITNESS
  17.                   FOR A PARTICULAR PURPOSE.  See the GNU General
  18.                   Public License for more details.
  19.  
  20.                   You should have received a copy of the GNU General
  21.                   along with this program; if not, write to the Free
  22.                   Software Foundation, 59 Temple Place - Suite 330,
  23.                   Boston, MA 02111-1307, USA.  Change History (least
  24.                   recent first):
  25.  
  26.         Change History (most recent first):
  27.         
  28.             <1>         03/25/05        USBPegasusEthernet source
  29. */
  30.  
  31. class USBAx88772 : public USBAx8817x {
  32.   // Constructor & Destructor stuff
  33.   OSDeclareDefaultStructors(USBAx88772);
  34. private:
  35. protected:
  36.   virtual int       copyPktToBuffer(mbuf_t mbuf, UInt8 *buf, int len);
  37.   virtual void      receivePacket(UInt32 remaining,
  38.                   IOBufferMemoryDescriptor *inMDP,
  39.                   IOUSBCompletion *completion);
  40.   virtual bool      resetMAC(void);
  41.   virtual void      setMediumStatus(UInt32 selectedMedium);
  42. }; /* end class USBAx88872 */
  43.