[openib-general] [PATCH][SDP][9/33] Fix comment style in sdp_dev.h
Tom Duffy
Tom.Duffy at Sun.COM
Thu Feb 17 14:10:02 PST 2005
Signed-off-by: Tom Duffy <tduffy at sun.com>
--- drivers/infiniband/ulp/sdp-orig/sdp_dev.h 2005-02-11 17:27:53.697025000 -0800
+++ drivers/infiniband/ulp/sdp/sdp_dev.h 2005-02-17 10:40:47.692004000 -0800
@@ -1,25 +1,36 @@
/*
- This software is available to you under a choice of one of two
- licenses. You may choose to be licensed under the terms of the GNU
- General Public License (GPL) Version 2, available at
- <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD
- license, available in the LICENSE.TXT file accompanying this
- software. These details are also available at
- <http://openib.org/license.html>.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE.
-
- Copyright (c) 2005 Topspin Communications. All rights reserved.
-
- $Id: sdp_dev.h 1032 2004-10-20 23:17:34Z roland $
-*/
+ * Copyright (c) 2005 Topspin Communications. All rights reserved.
+ *
+ * This software is available to you under a choice of one of two
+ * licenses. You may choose to be licensed under the terms of the GNU
+ * General Public License (GPL) Version 2, available from the file
+ * COPYING in the main directory of this source tree, or the
+ * OpenIB.org BSD license below:
+ *
+ * Redistribution and use in source and binary forms, with or
+ * without modification, are permitted provided that the following
+ * conditions are met:
+ *
+ * - Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ * $Id$
+ */
#ifndef _SDP_DEV_H
#define _SDP_DEV_H
@@ -100,11 +111,11 @@
#define SDP_SEND_POST_FRACTION 0x06
#define SDP_SEND_POST_SLOW 0x01
#define SDP_SEND_POST_COUNT 0x0A
-/* ---------------------------------------------------------------------- */
-/* */
-/* SDP experimental parameters. */
-/* */
-/* ---------------------------------------------------------------------- */
+
+/*
+ * SDP experimental parameters.
+ */
+
/*
* maximum consecutive unsignalled send events.
* (crap, watch out for deactivated nodelay!)
@@ -124,11 +135,10 @@
*/
#define SDP_RECV_POST_FREQ 0x08 /* rate for posting new recv buffs */
#define SDP_RECV_POST_ACK 0x08 /* rate for posting ack windows. */
-/* ---------------------------------------------------------------------- */
-/* */
-/* SDP root device structure. */
-/* */
-/* ---------------------------------------------------------------------- */
+
+/*
+ * SDP root device structure
+ */
struct sdev_hca_port {
u8 index; /* port ID */
union ib_gid gid; /* port GID */
More information about the general
mailing list