[ofw] [PATCH] Cleanup XXX_PTR64 macros from IBBus
Leonid Keller
leonid at mellanox.co.il
Sun Jun 29 09:49:55 PDT 2008
Applied in 1307. Thank you.
> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Fab Tillier
> Sent: Friday, June 27, 2008 9:55 AM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] [PATCH] Cleanup XXX_PTR64 macros from IBBus
>
> This patch removes XXX_PTR64 and TO_ULONG_PTR macro use from IBBus.
>
> Signed-off-by: Fab Tillier <ftillier at microsoft.com>
>
> Index: core/bus/kernel/bus_iou_mgr.h
> ===================================================================
> --- core/bus/kernel/bus_iou_mgr.h (revision 1300)
> +++ core/bus/kernel/bus_iou_mgr.h (working copy)
> @@ -1,5 +1,6 @@
> /*
> * Copyright (c) 2005 SilverStorm Technologies. All rights reserved.
> + * Portions Copyright (c) 2008 Microsoft Corporation. All
> rights reserved.
> *
> * This software is available to you under the OpenIB.org BSD license
> * below:
> @@ -42,7 +43,7 @@
> typedef struct _iou_mgr
> {
> cl_obj_t obj;
> -TO_LONG_PTR( ib_pnp_handle_t ,
> h_pnp) ; /* Handle for iou PnP events */
> + ib_pnp_handle_t h_pnp; /*
> Handle for iou PnP events */
>
> /* Mutex protects both pointer vectors. */
> cl_mutex_t pdo_mutex;
> Index: core/bus/kernel/bus_port_mgr.h
> ===================================================================
> --- core/bus/kernel/bus_port_mgr.h (revision 1300)
> +++ core/bus/kernel/bus_port_mgr.h (working copy)
> @@ -1,5 +1,6 @@
> /*
> * Copyright (c) 2005 SilverStorm Technologies. All rights reserved.
> + * Portions Copyright (c) 2008 Microsoft Corporation. All
> rights reserved.
> *
> * This software is available to you under the OpenIB.org BSD license
> * below:
> @@ -42,7 +43,7 @@
> typedef struct _port_mgr
> {
> cl_obj_t obj;
> -TO_LONG_PTR( ib_pnp_handle_t ,
> h_pnp) ; /* Handle for port PnP events */
> + ib_pnp_handle_t h_pnp; /*
> Handle for port PnP events */
>
> /* Mutex protects both pointer vectors. */
> cl_mutex_t pdo_mutex;
> Index: core/bus/kernel/bus_driver.h
> ===================================================================
> --- core/bus/kernel/bus_driver.h (revision 1300)
> +++ core/bus/kernel/bus_driver.h (working copy)
> @@ -1,5 +1,6 @@
> /*
> * Copyright (c) 2005 SilverStorm Technologies. All rights reserved.
> + * Portions Copyright (c) 2008 Microsoft Corporation. All
> rights reserved.
> *
> * This software is available to you under the OpenIB.org BSD license
> * below:
> @@ -133,7 +134,7 @@
> cl_list_item_t list_item;
>
> /* All reported PDOs are children of an HCA. */
> -TO_LONG_PTR( ib_ca_handle_t , h_ca) ;
> + ib_ca_handle_t h_ca;
>
> /*
> * CA GUID copy - in case we get IRPs after the CA
>
More information about the ofw
mailing list