/* usb2/usb.h
 *
 * (c) 2002 Simtec Electronics
 *
 * Ben Dooks, Vincent Sanders
 *
 * General header for USB2 support
 *
 * $Id: usb.h,v 1.5 2003/10/20 13:24:09 ben Exp $
 *
 * This Library file is part of the Simtec Electronics USB stack development
 *   suite.
 * Specific licence is granted to use this file by third parties for the
 *   development of USB device drivers.
 *
*/

#ifndef __USB2_USB_H
#define __USB2_USB_H "$Id: usb.h,v 1.5 2003/10/20 13:24:09 ben Exp $"

#ifndef __USB_USB_H
#include "usb/usb.h"
#endif

/* magic number placed in the usb structure to ensure that it is an usb2
 * and not an old usb device (this is not an inidcator that the device itself
 * is usb2, only that the structure is compatible with the new registration
 * scheme
*/ 

#define USB2_MAGIC ((unsigned short)0x15b2)

/** USB2 - flag - device struct is usb2 compatible 
 *
 * this flag does not mean that the device itself is usb2, merely that
 * the structure has been registered with the new registration calls. For
 * the actual device version, see the version field in the new structure
*/
#define USB2_DEVFLG_ISUSB2     (0x100)


/** USB Endpoint - flag: is an USB2 endpoint */
#define USB_EPFLAG_USB2      (0x100)


#endif /* __USB2_USB_H */

