From owner-svn-src-user@FreeBSD.ORG Mon May 3 08:57:49 2010 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64F271065673; Mon, 3 May 2010 08:57:49 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [69.147.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id 5396D8FC12; Mon, 3 May 2010 08:57:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o438vnxn029801; Mon, 3 May 2010 08:57:49 GMT (envelope-from jmallett@svn.freebsd.org) Received: (from jmallett@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o438vnsW029762; Mon, 3 May 2010 08:57:49 GMT (envelope-from jmallett@svn.freebsd.org) Message-Id: <201005030857.o438vnsW029762@svn.freebsd.org> From: Juli Mallett Date: Mon, 3 May 2010 08:57:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207556 - in user/jmallett/octeon/sys/dev/ath/ath_hal: ar5210 ar5211 ar5212 ar5312 ar5416 X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 08:57:49 -0000 Author: jmallett Date: Mon May 3 08:57:48 2010 New Revision: 207556 URL: http://svn.freebsd.org/changeset/base/207556 Log: Print bus handles with uintmax_t casts and %#jx not pointer casts and %p. Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -180,8 +180,8 @@ ar5210Attach(uint16_t devid, HAL_SOFTC s int i; HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, - "%s: devid 0x%x sc %p st %p sh %p\n", __func__, devid, - sc, (void*) st, (void*) sh); + "%s: devid 0x%x sc %p st %p sh %#jx\n", __func__, devid, + sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5210)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -197,8 +197,8 @@ ar5211Attach(uint16_t devid, HAL_SOFTC s uint16_t eeval; HAL_STATUS ecode; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5211)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -305,8 +305,8 @@ ar5212Attach(uint16_t devid, HAL_SOFTC s uint16_t eeval; HAL_STATUS ecode; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5212)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -70,8 +70,8 @@ ar5312Attach(uint16_t devid, HAL_SOFTC s uint16_t eeval; HAL_STATUS ecode; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5212)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -198,8 +198,8 @@ ar5416Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp5416 = ath_hal_malloc(sizeof (struct ath_hal_5416) + Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -98,8 +98,8 @@ ar9160Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp5416 = ath_hal_malloc(sizeof (struct ath_hal_5416)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -86,8 +86,8 @@ ar9280Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp9280 = ath_hal_malloc(sizeof (struct ath_hal_9280)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -88,8 +88,8 @@ ar9285Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp9285 = ath_hal_malloc(sizeof (struct ath_hal_9285));