Sun_fcGetPortStatistics.cc revision 2
d9ad96c1d1e6612641c338d86699f5700fca7217rg/*
d9ad96c1d1e6612641c338d86699f5700fca7217rg * CDDL HEADER START
d9ad96c1d1e6612641c338d86699f5700fca7217rg *
d9ad96c1d1e6612641c338d86699f5700fca7217rg * The contents of this file are subject to the terms of the
48a344074403d73a2e38d76ad47299c16c89e0dcrmesta * Common Development and Distribution License (the "License").
48a344074403d73a2e38d76ad47299c16c89e0dcrmesta * You may not use this file except in compliance with the License.
d9ad96c1d1e6612641c338d86699f5700fca7217rg *
d9ad96c1d1e6612641c338d86699f5700fca7217rg * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d9ad96c1d1e6612641c338d86699f5700fca7217rg * or http://www.opensolaris.org/os/licensing.
d9ad96c1d1e6612641c338d86699f5700fca7217rg * See the License for the specific language governing permissions
d9ad96c1d1e6612641c338d86699f5700fca7217rg * and limitations under the License.
d9ad96c1d1e6612641c338d86699f5700fca7217rg *
d9ad96c1d1e6612641c338d86699f5700fca7217rg * When distributing Covered Code, include this CDDL HEADER in each
d9ad96c1d1e6612641c338d86699f5700fca7217rg * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d9ad96c1d1e6612641c338d86699f5700fca7217rg * If applicable, add the following below this CDDL HEADER, with the
d9ad96c1d1e6612641c338d86699f5700fca7217rg * fields enclosed by brackets "[]" replaced with your own identifying
d9ad96c1d1e6612641c338d86699f5700fca7217rg * information: Portions Copyright [yyyy] [name of copyright owner]
d9ad96c1d1e6612641c338d86699f5700fca7217rg *
d9ad96c1d1e6612641c338d86699f5700fca7217rg * CDDL HEADER END
d9ad96c1d1e6612641c338d86699f5700fca7217rg */
d9ad96c1d1e6612641c338d86699f5700fca7217rg/*
d9ad96c1d1e6612641c338d86699f5700fca7217rg * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
7d12f3bc086bd094c3bf327e7bd04f94701e1c69maheshvs * Use is subject to license terms.
d9ad96c1d1e6612641c338d86699f5700fca7217rg */
d9ad96c1d1e6612641c338d86699f5700fca7217rg
d9ad96c1d1e6612641c338d86699f5700fca7217rg
d9ad96c1d1e6612641c338d86699f5700fca7217rg
d9ad96c1d1e6612641c338d86699f5700fca7217rg#include "Trace.h"
6cb014625d9459c150e9e75ed2b8a5d06b5b6137rg#include "Exceptions.h"
6cb014625d9459c150e9e75ed2b8a5d06b5b6137rg#ifdef __cplusplus
d9ad96c1d1e6612641c338d86699f5700fca7217rgextern "C" {
d9ad96c1d1e6612641c338d86699f5700fca7217rg#endif
d9ad96c1d1e6612641c338d86699f5700fca7217rg
d9ad96c1d1e6612641c338d86699f5700fca7217rg/**
d9ad96c1d1e6612641c338d86699f5700fca7217rg * Not Supported
d9ad96c1d1e6612641c338d86699f5700fca7217rg */
d9ad96c1d1e6612641c338d86699f5700fca7217rgHBA_STATUS Sun_fcGetPortStatistics(HBA_HANDLE handle,
d9ad96c1d1e6612641c338d86699f5700fca7217rg HBA_UINT32 port, PHBA_PORTSTATISTICS statistics) {
d9ad96c1d1e6612641c338d86699f5700fca7217rg Trace log("Sun_fcGetPortStatistics");
d9ad96c1d1e6612641c338d86699f5700fca7217rg
7d12f3bc086bd094c3bf327e7bd04f94701e1c69maheshvs // Validate the arguments
7d12f3bc086bd094c3bf327e7bd04f94701e1c69maheshvs if (statistics == NULL) {
d9ad96c1d1e6612641c338d86699f5700fca7217rg log.userError("NULL response buffer");
d9ad96c1d1e6612641c338d86699f5700fca7217rg return (HBA_STATUS_ERROR_ARG);
d9ad96c1d1e6612641c338d86699f5700fca7217rg }
d9ad96c1d1e6612641c338d86699f5700fca7217rg
d9ad96c1d1e6612641c338d86699f5700fca7217rg return (HBA_STATUS_ERROR_NOT_SUPPORTED);
d9ad96c1d1e6612641c338d86699f5700fca7217rg}
d9ad96c1d1e6612641c338d86699f5700fca7217rg#ifdef __cplusplus
d9ad96c1d1e6612641c338d86699f5700fca7217rg}
d9ad96c1d1e6612641c338d86699f5700fca7217rg#endif
d9ad96c1d1e6612641c338d86699f5700fca7217rg