Index: chromeos/drivers/ath6kl/include/target_reg_table.h |
diff --git a/chromeos/drivers/ath6kl/include/target_reg_table.h b/chromeos/drivers/ath6kl/include/target_reg_table.h |
index 4105b9c418cfb2d03f9210fa2ffd5ef63e8a6d83..901f923bee3495a1067322849caf1505a0d05812 100644 |
--- a/chromeos/drivers/ath6kl/include/target_reg_table.h |
+++ b/chromeos/drivers/ath6kl/include/target_reg_table.h |
@@ -1,15 +1,19 @@ |
//------------------------------------------------------------------------------ |
// <copyright file="target_reg_table.h" company="Atheros"> |
-// Copyright (c) 2004-2008 Atheros Corporation. All rights reserved. |
+// Copyright (c) 2004-2010 Atheros Corporation. All rights reserved. |
// |
-// This program is free software; you can redistribute it and/or modify |
-// it under the terms of the GNU General Public License version 2 as |
-// published by the Free Software Foundation; |
// |
-// Software distributed under the License is distributed on an "AS |
-// IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
-// implied. See the License for the specific language governing |
-// rights and limitations under the License. |
+// 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. |
// |
// |
//------------------------------------------------------------------------------ |
@@ -67,6 +71,7 @@ typedef struct targetdef_s { |
A_UINT32 d_SI_CS_TX_CNT_LSB; |
A_UINT32 d_SI_CS_TX_CNT_MASK; |
A_UINT32 d_BOARD_DATA_SZ; |
+ A_UINT32 d_BOARD_EXT_DATA_SZ; |
} TARGET_REGISTER_TABLE; |
#define BOARD_DATA_SZ_MAX 2048 |
@@ -117,6 +122,7 @@ static struct targetdef_s my_target_def = { |
SI_CS_TX_CNT_LSB, |
SI_CS_TX_CNT_MASK, |
MY_TARGET_BOARD_DATA_SZ, |
+ MY_TARGET_BOARD_EXT_DATA_SZ, |
}; |
#else |
@@ -163,6 +169,7 @@ static struct targetdef_s my_target_def = { |
.d_SI_CS_TX_CNT_LSB = SI_CS_TX_CNT_LSB, |
.d_SI_CS_TX_CNT_MASK = SI_CS_TX_CNT_MASK, |
.d_BOARD_DATA_SZ = MY_TARGET_BOARD_DATA_SZ, |
+ .d_BOARD_EXT_DATA_SZ = MY_TARGET_BOARD_EXT_DATA_SZ, |
}; |
#endif |
@@ -216,6 +223,7 @@ struct targetdef_s *MY_TARGET_DEF = &my_target_def; |
#define SI_CS_TX_CNT_LSB (targetdef->d_SI_CS_TX_CNT_LSB) |
#define SI_CS_TX_CNT_MASK (targetdef->d_SI_CS_TX_CNT_MASK) |
#define EEPROM_SZ (targetdef->d_BOARD_DATA_SZ) |
+#define EEPROM_EXT_SZ (targetdef->d_BOARD_EXT_DATA_SZ) |
/* SET macros */ |
#define SYSTEM_SLEEP_DISABLE_SET(x) (((x) << SYSTEM_SLEEP_DISABLE_LSB) & SYSTEM_SLEEP_DISABLE_MASK) |