fp.c (fbcf87a4) | fp.c (a3170057) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright 2020 RackTop Systems, Inc. |
|
23 * 24 * NOT a DDI compliant Sun Fibre Channel port driver(fp) 25 * 26 */ 27 28#include <sys/types.h> 29#include <sys/varargs.h> 30#include <sys/param.h> --- 7859 unchanged lines hidden (view full) --- 7890 val->PortSpeed = FC_HBA_PORTSPEED_8GBIT; 7891 break; 7892 case FC_STATE_10GBIT_SPEED: 7893 val->PortSpeed = FC_HBA_PORTSPEED_10GBIT; 7894 break; 7895 case FC_STATE_16GBIT_SPEED: 7896 val->PortSpeed = FC_HBA_PORTSPEED_16GBIT; 7897 break; | 24 * 25 * NOT a DDI compliant Sun Fibre Channel port driver(fp) 26 * 27 */ 28 29#include <sys/types.h> 30#include <sys/varargs.h> 31#include <sys/param.h> --- 7859 unchanged lines hidden (view full) --- 7891 val->PortSpeed = FC_HBA_PORTSPEED_8GBIT; 7892 break; 7893 case FC_STATE_10GBIT_SPEED: 7894 val->PortSpeed = FC_HBA_PORTSPEED_10GBIT; 7895 break; 7896 case FC_STATE_16GBIT_SPEED: 7897 val->PortSpeed = FC_HBA_PORTSPEED_16GBIT; 7898 break; |
7899 case FC_STATE_32GBIT_SPEED: 7900 val->PortSpeed = FC_HBA_PORTSPEED_32GBIT; 7901 break; |
|
7898 default: 7899 val->PortSpeed = FC_HBA_PORTSPEED_UNKNOWN; 7900 break; 7901 } 7902 val->PortMaxFrameSize = port->fp_hba_port_attrs.max_frame_size; 7903 val->NumberofDiscoveredPorts = port->fp_dev_count; 7904 mutex_exit(&port->fp_mutex); 7905 --- 7500 unchanged lines hidden --- | 7902 default: 7903 val->PortSpeed = FC_HBA_PORTSPEED_UNKNOWN; 7904 break; 7905 } 7906 val->PortMaxFrameSize = port->fp_hba_port_attrs.max_frame_size; 7907 val->NumberofDiscoveredPorts = port->fp_dev_count; 7908 mutex_exit(&port->fp_mutex); 7909 --- 7500 unchanged lines hidden --- |