diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2009-01-06 18:56:08 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2009-01-06 18:56:08 +0000 |
commit | 8c21a618d01e2e4cdd9b23cc3842112762f43585 (patch) | |
tree | a0ce0d8e925723a7a4a2819dc96907ba9f72b7c3 /sys/dev/ic | |
parent | eefcdfcb3bf9d349409a8622ea8affb053e1cf05 (diff) |
- fix reading from E-FUSE ROM (some RT3070 adapters have an E-FUSE ROM
instead of an EEPROM.)
- fix default LEDs and RF settings (when info is missing from EEPROM.)
- gracefully stop Tx in run_stop().
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/rt2860reg.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/rt2860reg.h b/sys/dev/ic/rt2860reg.h index e2204d54b2c..e39b17c8f05 100644 --- a/sys/dev/ic/rt2860reg.h +++ b/sys/dev/ic/rt2860reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860reg.h,v 1.15 2009/01/05 18:17:01 damien Exp $ */ +/* $OpenBSD: rt2860reg.h,v 1.16 2009/01/06 18:56:07 damien Exp $ */ /*- * Copyright (c) 2007 @@ -352,6 +352,12 @@ #define RT2860_MTX2_INT (1 << 1) #define RT2860_MRX0_INT (1 << 0) +/* possible flags for register TXRXQ_PCNT */ +#define RT2860_RX0Q_PCNT_MASK 0xff000000 +#define RT2860_TX2Q_PCNT_MASK 0x00ff0000 +#define RT2860_TX1Q_PCNT_MASK 0x0000ff00 +#define RT2860_TX0Q_PCNT_MASK 0x000000ff + /* possible flags for register CAP_CTRL */ #define RT2860_CAP_ADC_FEQ (1 << 31) #define RT2860_CAP_START (1 << 30) |