diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2009-05-11 19:14:51 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2009-05-11 19:14:51 +0000 |
commit | 15b25a28ed789a1881159acaa151dd1d08c22bf0 (patch) | |
tree | 0389a496e1b3f72cffd7e2eda57bf60b532e0e2a /sys/dev/ic/rt2860reg.h | |
parent | 0c045d8cd989c84194e33c101304a9e50360c768 (diff) |
enable USB Rx stream mode (aggregation of muliple bulk xfers in a single one).
Diffstat (limited to 'sys/dev/ic/rt2860reg.h')
-rw-r--r-- | sys/dev/ic/rt2860reg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rt2860reg.h b/sys/dev/ic/rt2860reg.h index e39b17c8f05..8b1b143b1d0 100644 --- a/sys/dev/ic/rt2860reg.h +++ b/sys/dev/ic/rt2860reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860reg.h,v 1.16 2009/01/06 18:56:07 damien Exp $ */ +/* $OpenBSD: rt2860reg.h,v 1.17 2009/05/11 19:14:50 damien Exp $ */ /*- * Copyright (c) 2007 @@ -270,8 +270,8 @@ #define RT2860_USB_TX_CLEAR (1 << 19) #define RT2860_USB_PHY_WD_EN (1 << 16) #define RT2860_USB_PHY_MAN_RST (1 << 15) -#define RT2860_USB_RX_AGG_LMT_SHIFT 8 -#define RT2860_USB_RX_AGG_TO_SHIFT 0 +#define RT2860_USB_RX_AGG_LMT(x) ((x) << 8) /* in unit of 1KB */ +#define RT2860_USB_RX_AGG_TO(x) ((x) << 0) /* in unit of 33ns */ /* possible flags for register US_CYC_CNT */ #define RT2860_TEST_EN (1 << 24) |