Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Add a macro to extract the isoc type.



details:   https://anonhg.NetBSD.org/src/rev/cbd96b76f999
branches:  trunk
changeset: 477551:cbd96b76f999
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Oct 20 21:02:39 1999 +0000

description:
Add a macro to extract the isoc type.

diffstat:

 sys/dev/usb/usb.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 18c2d5c4fc9f -r cbd96b76f999 sys/dev/usb/usb.h
--- a/sys/dev/usb/usb.h Wed Oct 20 20:42:29 1999 +0000
+++ b/sys/dev/usb/usb.h Wed Oct 20 21:02:39 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb.h,v 1.37 1999/10/13 18:52:54 augustss Exp $        */
+/*     $NetBSD: usb.h,v 1.38 1999/10/20 21:02:39 augustss Exp $        */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -244,6 +244,7 @@
 #define  UE_ISO_ASYNC  0x04
 #define  UE_ISO_ADAPT  0x08
 #define  UE_ISO_SYNC   0x0c
+#define UE_GET_ISO_TYPE(a)     ((a) & UE_ISO_TYPE)
        uWord           wMaxPacketSize;
        uByte           bInterval;
 } usb_endpoint_descriptor_t;



Home | Main Index | Thread Index | Old Index