Index: chromeos/drivers/ath6kl/htc2/AR6000/ar6k_gmbox.c |
diff --git a/chromeos/drivers/ath6kl/htc2/AR6000/ar6k_gmbox.c b/chromeos/drivers/ath6kl/htc2/AR6000/ar6k_gmbox.c |
index f1408082a80946be194271d946feabf1d0f98f56..e3d270d1d626db89549c9004c339ba660f48588e 100644 |
--- a/chromeos/drivers/ath6kl/htc2/AR6000/ar6k_gmbox.c |
+++ b/chromeos/drivers/ath6kl/htc2/AR6000/ar6k_gmbox.c |
@@ -1,15 +1,19 @@ |
//------------------------------------------------------------------------------ |
// <copyright file="ar6k_gmbox.c" company="Atheros"> |
-// Copyright (c) 2007-2008 Atheros Corporation. All rights reserved. |
+// Copyright (c) 2007-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. |
// |
// |
//------------------------------------------------------------------------------ |
@@ -59,7 +63,7 @@ static void DevGMboxIRQActionAsyncHandler(void *Context, HTC_PACKET *pPacket) |
{ |
AR6K_DEVICE *pDev = (AR6K_DEVICE *)Context; |
- AR_DEBUG_PRINTF(ATH_DEBUG_IRQ,("+DevGMboxIRQActionAsyncHandler: (dev: 0x%X)\n", (A_UINT32)pDev)); |
+ AR_DEBUG_PRINTF(ATH_DEBUG_IRQ,("+DevGMboxIRQActionAsyncHandler: (dev: 0x%lX)\n", (unsigned long)pDev)); |
if (A_FAILED(pPacket->Status)) { |
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, |
@@ -452,8 +456,8 @@ A_STATUS DevGMboxRead(AR6K_DEVICE *pDev, HTC_PACKET *pPacket, A_UINT32 ReadLengt |
} |
AR_DEBUG_PRINTF(ATH_DEBUG_RECV, |
- ("DevGMboxRead (0x%X : hdr:0x%X) Padded Length: %d Mbox:0x%X (mode:%s)\n", |
- (A_UINT32)pPacket, pPacket->PktInfo.AsRx.ExpectedHdr, |
+ ("DevGMboxRead (0x%lX : hdr:0x%X) Padded Length: %d Mbox:0x%X (mode:%s)\n", |
+ (unsigned long)pPacket, pPacket->PktInfo.AsRx.ExpectedHdr, |
paddedLength, |
pDev->MailBoxInfo.GMboxAddress, |
sync ? "SYNC" : "ASYNC")); |
@@ -516,7 +520,7 @@ static void DevGMboxReadCreditsAsyncHandler(void *Context, HTC_PACKET *pPacket) |
{ |
AR6K_DEVICE *pDev = (AR6K_DEVICE *)Context; |
- AR_DEBUG_PRINTF(ATH_DEBUG_IRQ,("+DevGMboxReadCreditsAsyncHandler: (dev: 0x%X)\n", (A_UINT32)pDev)); |
+ AR_DEBUG_PRINTF(ATH_DEBUG_IRQ,("+DevGMboxReadCreditsAsyncHandler: (dev: 0x%lX)\n", (unsigned long)pDev)); |
if (A_FAILED(pPacket->Status)) { |
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, |