Deleted Added
full compact
if_runreg.h (258083) if_runreg.h (258733)
1/* $OpenBSD: rt2860reg.h,v 1.19 2009/05/18 19:25:07 damien Exp $ */
2
3/*-
4 * Copyright (c) 2007
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
10 *
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 *
1/* $OpenBSD: rt2860reg.h,v 1.19 2009/05/18 19:25:07 damien Exp $ */
2
3/*-
4 * Copyright (c) 2007
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
10 *
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 *
19 * $FreeBSD: head/sys/dev/usb/wlan/if_runreg.h 258083 2013-11-13 05:22:39Z kevlo $
19 * $FreeBSD: head/sys/dev/usb/wlan/if_runreg.h 258733 2013-11-29 07:08:17Z kevlo $
20 */
21
22#ifndef _IF_RUNREG_H_
23#define _IF_RUNREG_H_
24
25/* PCI registers */
26#define RT2860_PCI_CFG 0x0000
27#define RT2860_PCI_EECTRL 0x0004

--- 811 unchanged lines hidden (view full) ---

839
840
841/* first DMA segment contains TXWI + 802.11 header + 32-bit padding */
842#define RT2860_TXWI_DMASZ \
843 (sizeof (struct rt2860_txwi) + \
844 sizeof (struct ieee80211_htframe) + \
845 sizeof (uint16_t))
846
20 */
21
22#ifndef _IF_RUNREG_H_
23#define _IF_RUNREG_H_
24
25/* PCI registers */
26#define RT2860_PCI_CFG 0x0000
27#define RT2860_PCI_EECTRL 0x0004

--- 811 unchanged lines hidden (view full) ---

839
840
841/* first DMA segment contains TXWI + 802.11 header + 32-bit padding */
842#define RT2860_TXWI_DMASZ \
843 (sizeof (struct rt2860_txwi) + \
844 sizeof (struct ieee80211_htframe) + \
845 sizeof (uint16_t))
846
847#define RT2860_RF1 0
848#define RT2860_RF2 2
849#define RT2860_RF3 1
850#define RT2860_RF4 3
851
852#define RT2860_RF_2820 0x0001 /* 2T3R */
853#define RT2860_RF_2850 0x0002 /* dual-band 2T3R */
854#define RT2860_RF_2720 0x0003 /* 1T2R */
855#define RT2860_RF_2750 0x0004 /* dual-band 1T2R */
856#define RT3070_RF_3020 0x0005 /* 1T1R */
857#define RT3070_RF_2020 0x0006 /* b/g */
858#define RT3070_RF_3021 0x0007 /* 1T2R */
859#define RT3070_RF_3022 0x0008 /* 2T2R */

--- 473 unchanged lines hidden ---
847#define RT2860_RF_2820 0x0001 /* 2T3R */
848#define RT2860_RF_2850 0x0002 /* dual-band 2T3R */
849#define RT2860_RF_2720 0x0003 /* 1T2R */
850#define RT2860_RF_2750 0x0004 /* dual-band 1T2R */
851#define RT3070_RF_3020 0x0005 /* 1T1R */
852#define RT3070_RF_2020 0x0006 /* b/g */
853#define RT3070_RF_3021 0x0007 /* 1T2R */
854#define RT3070_RF_3022 0x0008 /* 2T2R */

--- 473 unchanged lines hidden ---