Deleted Added
full compact
ar71xxreg.h (211502) ar71xxreg.h (211503)
1/*-
2 * Copyright (c) 2009 Oleksandr Tymoshenko
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
1/*-
2 * Copyright (c) 2009 Oleksandr Tymoshenko
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27/* $FreeBSD: head/sys/mips/atheros/ar71xxreg.h 211502 2010-08-19 11:40:10Z adrian $ */
27/* $FreeBSD: head/sys/mips/atheros/ar71xxreg.h 211503 2010-08-19 11:53:55Z adrian $ */
28
29#ifndef _AR71XX_REG_H_
30#define _AR71XX_REG_H_
31
32/* PCI region */
33#define AR71XX_PCI_MEM_BASE 0x10000000
34/*
35 * PCI mem windows is 0x08000000 bytes long but we exclude control

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

251/* AR71XX chipset revision details */
252#define AR71XX_REV_ID_MINOR_MASK 0x3
253#define AR71XX_REV_ID_MINOR_AR7130 0x0
254#define AR71XX_REV_ID_MINOR_AR7141 0x1
255#define AR71XX_REV_ID_MINOR_AR7161 0x2
256#define AR71XX_REV_ID_REVISION_MASK 0x3
257#define AR71XX_REV_ID_REVISION_SHIFT 2
258
28
29#ifndef _AR71XX_REG_H_
30#define _AR71XX_REG_H_
31
32/* PCI region */
33#define AR71XX_PCI_MEM_BASE 0x10000000
34/*
35 * PCI mem windows is 0x08000000 bytes long but we exclude control

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

251/* AR71XX chipset revision details */
252#define AR71XX_REV_ID_MINOR_MASK 0x3
253#define AR71XX_REV_ID_MINOR_AR7130 0x0
254#define AR71XX_REV_ID_MINOR_AR7141 0x1
255#define AR71XX_REV_ID_MINOR_AR7161 0x2
256#define AR71XX_REV_ID_REVISION_MASK 0x3
257#define AR71XX_REV_ID_REVISION_SHIFT 2
258
259/* AR724X chipset revision details */
260#define AR724X_REV_ID_REVISION_MASK 0x3
261
259/* AR91XX chipset revision details */
260#define AR91XX_REV_ID_MINOR_MASK 0x3
261#define AR91XX_REV_ID_MINOR_AR9130 0x0
262#define AR91XX_REV_ID_MINOR_AR9132 0x1
263#define AR91XX_REV_ID_REVISION_MASK 0x3
264#define AR91XX_REV_ID_REVISION_SHIFT 2
265
266/*

--- 235 unchanged lines hidden ---
262/* AR91XX chipset revision details */
263#define AR91XX_REV_ID_MINOR_MASK 0x3
264#define AR91XX_REV_ID_MINOR_AR9130 0x0
265#define AR91XX_REV_ID_MINOR_AR9132 0x1
266#define AR91XX_REV_ID_REVISION_MASK 0x3
267#define AR91XX_REV_ID_REVISION_SHIFT 2
268
269/*

--- 235 unchanged lines hidden ---