Deleted Added
full compact
ar9160.ini (186333) ar9160.ini (188979)
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
17 * $Id: ar9160.ini,v 1.5 2008/11/10 04:08:05 sam Exp $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar9160.ini 188979 2009-02-24 01:07:06Z sam $
18 */
19/* Auto Generated PCI Register Writes. Created: 05/22/08 */
20
21static const uint32_t ar9160Modes[][6] = {
22 { 0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160, 0x000001e0 },
23 { 0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c, 0x000001e0 },
24 { 0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38, 0x00001180 },
25 { 0x000010f0, 0x0000a000, 0x00014000, 0x00016000, 0x0000b000, 0x00014008 },

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

692 {0x0000989c, 0x00000000 },
693 {0x0000989c, 0x00000000 },
694 {0x0000989c, 0x00000000 },
695 {0x0000989c, 0x00000000 },
696 {0x0000989c, 0x00000000 },
697 {0x0000989c, 0x00000000 },
698 {0x000098cc, 0x00000000 },
699};
18 */
19/* Auto Generated PCI Register Writes. Created: 05/22/08 */
20
21static const uint32_t ar9160Modes[][6] = {
22 { 0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160, 0x000001e0 },
23 { 0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c, 0x000001e0 },
24 { 0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38, 0x00001180 },
25 { 0x000010f0, 0x0000a000, 0x00014000, 0x00016000, 0x0000b000, 0x00014008 },

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

692 {0x0000989c, 0x00000000 },
693 {0x0000989c, 0x00000000 },
694 {0x0000989c, 0x00000000 },
695 {0x0000989c, 0x00000000 },
696 {0x0000989c, 0x00000000 },
697 {0x0000989c, 0x00000000 },
698 {0x000098cc, 0x00000000 },
699};
700
701/* hand-crafted from code that does explicit register writes */
702static const uint32_t ar9160PciePhy[][2] = {
703 { AR_PCIE_SERDES, 0x9248fc00 },
704 { AR_PCIE_SERDES, 0x24924924 },
705 { AR_PCIE_SERDES, 0x28000039 },
706 { AR_PCIE_SERDES, 0x53160824 },
707 { AR_PCIE_SERDES, 0xe5980579 },
708 { AR_PCIE_SERDES, 0x001defff },
709 { AR_PCIE_SERDES, 0x1aaabe40 },
710 { AR_PCIE_SERDES, 0xbe105554 },
711 { AR_PCIE_SERDES, 0x000e3007 },
712 { AR_PCIE_SERDES2, 0x00000000 },
713};