freebsd-nq/sys/dev/ath/ath_hal/ar5211/boss.ini
Pedro F. Giffuni 646a7fea0c Clean some 'svn:executable' properties in the tree.
Submitted by:	Christoph Mallon
MFC after:	3 days
2013-01-26 22:08:21 +00:00

359 lines
13 KiB
INI

/*
* Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
* Copyright (c) 2002-2006 Atheros Communications, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $FreeBSD$
*/
/* Auto Generated PCI Register Writes. Created: 09/12/02 */
static const uint32_t ar5211Modes[][5] = {
{ 0x00000030, 0x00000015, 0x00000015, 0x0000001d, 0x00000015 },
{ 0x00001040, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001044, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001048, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x0000104c, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001050, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001054, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001058, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x0000105c, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001060, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001064, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f },
{ 0x00001070, 0x00000168, 0x000001e0, 0x000001b8, 0x00000168 },
{ 0x00001030, 0x00000230, 0x000001e0, 0x000000b0, 0x00000230 },
{ 0x000010b0, 0x00000d98, 0x00001180, 0x00001f48, 0x00000d98 },
{ 0x000010f0, 0x0000a0e0, 0x00014068, 0x00005880, 0x0000a0e0 },
{ 0x00008014, 0x04000400, 0x08000800, 0x20003000, 0x04000400 },
{ 0x0000801c, 0x0e8d8fa7, 0x0e8d8fcf, 0x01608f95, 0x0e8d8fa7 },
{ 0x00009804, 0x00000000, 0x00000003, 0x00000000, 0x00000000 },
{ 0x00009820, 0x02020200, 0x02020200, 0x02010200, 0x02020200 },
{ 0x00009824, 0x00000e0e, 0x00000e0e, 0x00000707, 0x00000e0e },
{ 0x00009828, 0x0a020001, 0x0a020001, 0x05010000, 0x0a020001 },
{ 0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e },
{ 0x00009838, 0x00000007, 0x00000007, 0x0000000b, 0x0000000b },
{ 0x00009844, 0x1372169c, 0x137216a5, 0x137216a8, 0x1372169c },
{ 0x00009848, 0x0018ba67, 0x0018ba67, 0x0018ba69, 0x0018ba69 },
{ 0x00009850, 0x0c28b4e0, 0x0c28b4e0, 0x0c28b4e0, 0x0c28b4e0 },
{ 0x00009858, 0x7e800d2e, 0x7e800d2e, 0x7ec00d2e, 0x7e800d2e },
{ 0x0000985c, 0x31375d5e, 0x31375d5e, 0x313a5d5e, 0x31375d5e },
{ 0x00009860, 0x0000bd10, 0x0000bd10, 0x0000bd38, 0x0000bd10 },
{ 0x00009864, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00 },
{ 0x00009914, 0x00002710, 0x00002710, 0x0000157c, 0x00002710 },
{ 0x00009918, 0x00000190, 0x00000190, 0x00000084, 0x00000190 },
{ 0x00009944, 0x6fe01020, 0x6fe01020, 0x6fe00920, 0x6fe01020 },
{ 0x0000a180, 0x05ff14ff, 0x05ff14ff, 0x05ff14ff, 0x05ff19ff },
{ 0x000098d4, 0x00000010, 0x00000014, 0x00000010, 0x00000010 },
};
static const uint32_t ar5211Common[][2] = {
{ 0x0000000c, 0x00000000 },
{ 0x00000028, 0x84849c9c },
{ 0x0000002c, 0x7c7c7c7c },
{ 0x00000034, 0x00000005 },
{ 0x00000040, 0x00000000 },
{ 0x00000044, 0x00000008 },
{ 0x00000048, 0x00000008 },
{ 0x0000004c, 0x00000010 },
{ 0x00000050, 0x00000000 },
{ 0x00000054, 0x0000001f },
{ 0x00000800, 0x00000000 },
{ 0x00000804, 0x00000000 },
{ 0x00000808, 0x00000000 },
{ 0x0000080c, 0x00000000 },
{ 0x00000810, 0x00000000 },
{ 0x00000814, 0x00000000 },
{ 0x00000818, 0x00000000 },
{ 0x0000081c, 0x00000000 },
{ 0x00000820, 0x00000000 },
{ 0x00000824, 0x00000000 },
{ 0x00001230, 0x00000000 },
{ 0x00008004, 0x00000000 },
{ 0x00008008, 0x00000000 },
{ 0x0000800c, 0x00000000 },
{ 0x00008018, 0x00000000 },
{ 0x00008024, 0x00000000 },
{ 0x00008028, 0x00000030 },
{ 0x0000802c, 0x0007ffff },
{ 0x00008030, 0x01ffffff },
{ 0x00008034, 0x00000031 },
{ 0x00008038, 0x00000000 },
{ 0x0000803c, 0x00000000 },
{ 0x00008040, 0x00000000 },
{ 0x00008044, 0x00000002 },
{ 0x00008048, 0x00000000 },
{ 0x00008054, 0x00000000 },
{ 0x00008058, 0x00000000 },
{ 0x00009808, 0x00000000 },
{ 0x0000980c, 0x2d849093 },
{ 0x00009810, 0x7d32e000 },
{ 0x00009814, 0x00000f6b },
{ 0x0000981c, 0x00000000 },
{ 0x0000982c, 0x00026ffe },
{ 0x00009830, 0x00000000 },
{ 0x0000983c, 0x00020100 },
{ 0x00009840, 0x206a017a },
{ 0x0000984c, 0x1284613c },
{ 0x00009854, 0x00000859 },
{ 0x00009868, 0x409a4190 },
{ 0x0000986c, 0x050cb081 },
{ 0x00009870, 0x0000000f },
{ 0x00009874, 0x00000080 },
{ 0x00009878, 0x0000000c },
{ 0x00009900, 0x00000000 },
{ 0x00009904, 0x00000000 },
{ 0x00009908, 0x00000000 },
{ 0x0000990c, 0x00800000 },
{ 0x00009910, 0x00000001 },
{ 0x0000991c, 0x0000092a },
{ 0x00009920, 0x00000000 },
{ 0x00009924, 0x00058a05 },
{ 0x00009928, 0x00000001 },
{ 0x0000992c, 0x00000000 },
{ 0x00009930, 0x00000000 },
{ 0x00009934, 0x00000000 },
{ 0x00009938, 0x00000000 },
{ 0x0000993c, 0x0000003f },
{ 0x00009940, 0x00000004 },
{ 0x00009948, 0x00000000 },
{ 0x0000994c, 0x00000000 },
{ 0x00009950, 0x00000000 },
{ 0x00009954, 0x5d50f14c },
{ 0x00009958, 0x00000018 },
{ 0x0000995c, 0x004b6a8e },
{ 0x0000a184, 0x06ff05ff },
{ 0x0000a188, 0x07ff07ff },
{ 0x0000a18c, 0x08ff08ff },
{ 0x0000a190, 0x09ff09ff },
{ 0x0000a194, 0x0aff0aff },
{ 0x0000a198, 0x0bff0bff },
{ 0x0000a19c, 0x0cff0cff },
{ 0x0000a1a0, 0x0dff0dff },
{ 0x0000a1a4, 0x0fff0eff },
{ 0x0000a1a8, 0x12ff12ff },
{ 0x0000a1ac, 0x14ff13ff },
{ 0x0000a1b0, 0x16ff15ff },
{ 0x0000a1b4, 0x19ff17ff },
{ 0x0000a1b8, 0x1bff1aff },
{ 0x0000a1bc, 0x1eff1dff },
{ 0x0000a1c0, 0x23ff20ff },
{ 0x0000a1c4, 0x27ff25ff },
{ 0x0000a1c8, 0x2cff29ff },
{ 0x0000a1cc, 0x31ff2fff },
{ 0x0000a1d0, 0x37ff34ff },
{ 0x0000a1d4, 0x3aff3aff },
{ 0x0000a1d8, 0x3aff3aff },
{ 0x0000a1dc, 0x3aff3aff },
{ 0x0000a1e0, 0x3aff3aff },
{ 0x0000a1e4, 0x3aff3aff },
{ 0x0000a1e8, 0x3aff3aff },
{ 0x0000a1ec, 0x3aff3aff },
{ 0x0000a1f0, 0x3aff3aff },
{ 0x0000a1f4, 0x3aff3aff },
{ 0x0000a1f8, 0x3aff3aff },
{ 0x0000a1fc, 0x3aff3aff },
{ 0x00009b00, 0x00000000 },
{ 0x00009b04, 0x00000020 },
{ 0x00009b08, 0x00000010 },
{ 0x00009b0c, 0x00000030 },
{ 0x00009b10, 0x00000008 },
{ 0x00009b14, 0x00000028 },
{ 0x00009b18, 0x00000004 },
{ 0x00009b1c, 0x00000024 },
{ 0x00009b20, 0x00000014 },
{ 0x00009b24, 0x00000034 },
{ 0x00009b28, 0x0000000c },
{ 0x00009b2c, 0x0000002c },
{ 0x00009b30, 0x00000002 },
{ 0x00009b34, 0x00000022 },
{ 0x00009b38, 0x00000012 },
{ 0x00009b3c, 0x00000032 },
{ 0x00009b40, 0x0000000a },
{ 0x00009b44, 0x0000002a },
{ 0x00009b48, 0x00000006 },
{ 0x00009b4c, 0x00000026 },
{ 0x00009b50, 0x00000016 },
{ 0x00009b54, 0x00000036 },
{ 0x00009b58, 0x0000000e },
{ 0x00009b5c, 0x0000002e },
{ 0x00009b60, 0x00000001 },
{ 0x00009b64, 0x00000021 },
{ 0x00009b68, 0x00000011 },
{ 0x00009b6c, 0x00000031 },
{ 0x00009b70, 0x00000009 },
{ 0x00009b74, 0x00000029 },
{ 0x00009b78, 0x00000005 },
{ 0x00009b7c, 0x00000025 },
{ 0x00009b80, 0x00000015 },
{ 0x00009b84, 0x00000035 },
{ 0x00009b88, 0x0000000d },
{ 0x00009b8c, 0x0000002d },
{ 0x00009b90, 0x00000003 },
{ 0x00009b94, 0x00000023 },
{ 0x00009b98, 0x00000013 },
{ 0x00009b9c, 0x00000033 },
{ 0x00009ba0, 0x0000000b },
{ 0x00009ba4, 0x0000002b },
{ 0x00009ba8, 0x0000002b },
{ 0x00009bac, 0x0000002b },
{ 0x00009bb0, 0x0000002b },
{ 0x00009bb4, 0x0000002b },
{ 0x00009bb8, 0x0000002b },
{ 0x00009bbc, 0x0000002b },
{ 0x00009bc0, 0x0000002b },
{ 0x00009bc4, 0x0000002b },
{ 0x00009bc8, 0x0000002b },
{ 0x00009bcc, 0x0000002b },
{ 0x00009bd0, 0x0000002b },
{ 0x00009bd4, 0x0000002b },
{ 0x00009bd8, 0x0000002b },
{ 0x00009bdc, 0x0000002b },
{ 0x00009be0, 0x0000002b },
{ 0x00009be4, 0x0000002b },
{ 0x00009be8, 0x0000002b },
{ 0x00009bec, 0x0000002b },
{ 0x00009bf0, 0x0000002b },
{ 0x00009bf4, 0x0000002b },
{ 0x00009bf8, 0x00000002 },
{ 0x00009bfc, 0x00000016 },
{ 0x000098d4, 0x00000020 },
{ 0x000098d8, 0x00601068 },
};
static uint32_t ar5211Mode2_4[][3] = {
{ 0x0000a204, 0x00000000, 0x00000000 },
{ 0x0000a208, 0x503e4646, 0x503e4646 },
{ 0x0000a20c, 0x6480416c, 0x6480416c },
{ 0x0000a210, 0x0199a003, 0x0199a003 },
{ 0x0000a214, 0x044cd610, 0x044cd610 },
{ 0x0000a218, 0x13800040, 0x13800040 },
{ 0x0000a21c, 0x1be00060, 0x1be00060 },
{ 0x0000a220, 0x0c53800a, 0x0c53800a },
{ 0x0000a224, 0x0014df3b, 0x0014df3b },
{ 0x0000a228, 0x000001b5, 0x000001b5 },
{ 0x0000a22c, 0x00000020, 0x00000020 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00380000, 0x00380000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x000400f9, 0x000400f9 },
{ 0x000098d4, 0x00000000, 0x00000004 },
};
static const uint32_t ar5211BB_RfGain[][3] = {
{ 0x00009a00, 0x000001a9, 0x00000000 },
{ 0x00009a04, 0x000001e9, 0x00000040 },
{ 0x00009a08, 0x00000029, 0x00000080 },
{ 0x00009a0c, 0x00000069, 0x00000150 },
{ 0x00009a10, 0x00000199, 0x00000190 },
{ 0x00009a14, 0x000001d9, 0x000001d0 },
{ 0x00009a18, 0x00000019, 0x00000010 },
{ 0x00009a1c, 0x00000059, 0x00000044 },
{ 0x00009a20, 0x00000099, 0x00000084 },
{ 0x00009a24, 0x000001a5, 0x00000148 },
{ 0x00009a28, 0x000001e5, 0x00000188 },
{ 0x00009a2c, 0x00000025, 0x000001c8 },
{ 0x00009a30, 0x000001c8, 0x00000014 },
{ 0x00009a34, 0x00000008, 0x00000042 },
{ 0x00009a38, 0x00000048, 0x00000082 },
{ 0x00009a3c, 0x00000088, 0x00000178 },
{ 0x00009a40, 0x00000198, 0x000001b8 },
{ 0x00009a44, 0x000001d8, 0x000001f8 },
{ 0x00009a48, 0x00000018, 0x00000012 },
{ 0x00009a4c, 0x00000058, 0x00000052 },
{ 0x00009a50, 0x00000098, 0x00000092 },
{ 0x00009a54, 0x000001a4, 0x0000017c },
{ 0x00009a58, 0x000001e4, 0x000001bc },
{ 0x00009a5c, 0x00000024, 0x000001fc },
{ 0x00009a60, 0x00000064, 0x0000000a },
{ 0x00009a64, 0x000000a4, 0x0000004a },
{ 0x00009a68, 0x000000e4, 0x0000008a },
{ 0x00009a6c, 0x0000010a, 0x0000015a },
{ 0x00009a70, 0x0000014a, 0x0000019a },
{ 0x00009a74, 0x0000018a, 0x000001da },
{ 0x00009a78, 0x000001ca, 0x0000000e },
{ 0x00009a7c, 0x0000000a, 0x0000004e },
{ 0x00009a80, 0x0000004a, 0x0000008e },
{ 0x00009a84, 0x0000008a, 0x0000015e },
{ 0x00009a88, 0x000001ba, 0x0000019e },
{ 0x00009a8c, 0x000001fa, 0x000001de },
{ 0x00009a90, 0x0000003a, 0x00000009 },
{ 0x00009a94, 0x0000007a, 0x00000049 },
{ 0x00009a98, 0x00000186, 0x00000089 },
{ 0x00009a9c, 0x000001c6, 0x00000179 },
{ 0x00009aa0, 0x00000006, 0x000001b9 },
{ 0x00009aa4, 0x00000046, 0x000001f9 },
{ 0x00009aa8, 0x00000086, 0x00000039 },
{ 0x00009aac, 0x000000c6, 0x00000079 },
{ 0x00009ab0, 0x000000c6, 0x000000b9 },
{ 0x00009ab4, 0x000000c6, 0x000001bd },
{ 0x00009ab8, 0x000000c6, 0x000001fd },
{ 0x00009abc, 0x000000c6, 0x0000003d },
{ 0x00009ac0, 0x000000c6, 0x0000007d },
{ 0x00009ac4, 0x000000c6, 0x000000bd },
{ 0x00009ac8, 0x000000c6, 0x000000fd },
{ 0x00009acc, 0x000000c6, 0x000000fd },
{ 0x00009ad0, 0x000000c6, 0x000000fd },
{ 0x00009ad4, 0x000000c6, 0x000000fd },
{ 0x00009ad8, 0x000000c6, 0x000000fd },
{ 0x00009adc, 0x000000c6, 0x000000fd },
{ 0x00009ae0, 0x000000c6, 0x000000fd },
{ 0x00009ae4, 0x000000c6, 0x000000fd },
{ 0x00009ae8, 0x000000c6, 0x000000fd },
{ 0x00009aec, 0x000000c6, 0x000000fd },
{ 0x00009af0, 0x000000c6, 0x000000fd },
{ 0x00009af4, 0x000000c6, 0x000000fd },
{ 0x00009af8, 0x000000c6, 0x000000fd },
{ 0x00009afc, 0x000000c6, 0x000000fd },
};
static uint32_t ar5211Rf6n7[][3] = {
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x10000000, 0x10000000 },
{ 0x0000989c, 0x04000000, 0x04000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x00000000 },
{ 0x0000989c, 0x00000000, 0x0a000000 },
{ 0x0000989c, 0x00380080, 0x02380080 },
{ 0x0000989c, 0x00020006, 0x00000006 },
{ 0x0000989c, 0x00000092, 0x00000092 },
{ 0x0000989c, 0x000000a0, 0x000000a0 },
{ 0x0000989c, 0x00040007, 0x00040007 },
{ 0x000098d4, 0x0000001a, 0x0000001a },
{ 0x0000989c, 0x00000048, 0x00000048 },
{ 0x0000989c, 0x00000010, 0x00000010 },
{ 0x0000989c, 0x00000008, 0x00000008 },
{ 0x0000989c, 0x0000000f, 0x0000000f },
{ 0x0000989c, 0x000000f2, 0x00000062 },
{ 0x0000989c, 0x0000904f, 0x0000904c },
{ 0x0000989c, 0x0000125a, 0x0000129a },
{ 0x000098cc, 0x0000000e, 0x0000000f },
};