Add EHCI_QTD_SET_STATUS.
This commit is contained in:
parent
813c2cdec9
commit
dd753df337
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ehcireg.h,v 1.18 2004/10/22 10:38:17 augustss Exp $ */
|
||||
/* $NetBSD: ehcireg.h,v 1.19 2004/10/25 08:53:38 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -206,6 +206,7 @@ typedef struct {
|
|||
ehci_link_t qtd_altnext;
|
||||
u_int32_t qtd_status;
|
||||
#define EHCI_QTD_GET_STATUS(x) (((x) >> 0) & 0xff)
|
||||
#define EHCI_QTD_SET_STATUS(x) ((x) << 0)
|
||||
#define EHCI_QTD_ACTIVE 0x80
|
||||
#define EHCI_QTD_HALTED 0x40
|
||||
#define EHCI_QTD_BUFERR 0x20
|
||||
|
|
Loading…
Reference in New Issue