xref: /freebsd/sys/dev/sfxge/common/efx_phy_ids.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
13c838a9fSAndrew Rybchenko /*-
2*929c7febSAndrew Rybchenko  * Copyright (c) 2013-2016 Solarflare Communications Inc.
33c838a9fSAndrew Rybchenko  * All rights reserved.
43c838a9fSAndrew Rybchenko  *
53c838a9fSAndrew Rybchenko  * Redistribution and use in source and binary forms, with or without
63c838a9fSAndrew Rybchenko  * modification, are permitted provided that the following conditions are met:
73c838a9fSAndrew Rybchenko  *
83c838a9fSAndrew Rybchenko  * 1. Redistributions of source code must retain the above copyright notice,
93c838a9fSAndrew Rybchenko  *    this list of conditions and the following disclaimer.
103c838a9fSAndrew Rybchenko  * 2. Redistributions in binary form must reproduce the above copyright notice,
113c838a9fSAndrew Rybchenko  *    this list of conditions and the following disclaimer in the documentation
123c838a9fSAndrew Rybchenko  *    and/or other materials provided with the distribution.
133c838a9fSAndrew Rybchenko  *
143c838a9fSAndrew Rybchenko  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
153c838a9fSAndrew Rybchenko  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
163c838a9fSAndrew Rybchenko  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
173c838a9fSAndrew Rybchenko  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
183c838a9fSAndrew Rybchenko  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
193c838a9fSAndrew Rybchenko  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
203c838a9fSAndrew Rybchenko  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
213c838a9fSAndrew Rybchenko  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
223c838a9fSAndrew Rybchenko  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
233c838a9fSAndrew Rybchenko  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
243c838a9fSAndrew Rybchenko  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
253c838a9fSAndrew Rybchenko  *
263c838a9fSAndrew Rybchenko  * The views and conclusions contained in the software and documentation are
273c838a9fSAndrew Rybchenko  * those of the authors and should not be interpreted as representing official
283c838a9fSAndrew Rybchenko  * policies, either expressed or implied, of the FreeBSD Project.
293c838a9fSAndrew Rybchenko  */
303c838a9fSAndrew Rybchenko 
313c838a9fSAndrew Rybchenko #ifndef	_SYS_EFX_PHY_IDS_H
323c838a9fSAndrew Rybchenko #define	_SYS_EFX_PHY_IDS_H
333c838a9fSAndrew Rybchenko 
343c838a9fSAndrew Rybchenko #define	EFX_PHY_NULL	0
353c838a9fSAndrew Rybchenko 
363c838a9fSAndrew Rybchenko typedef enum efx_phy_type_e {			/* GENERATED BY scripts/genfwdef */
373c838a9fSAndrew Rybchenko 	EFX_PHY_TXC43128 = 1,
383c838a9fSAndrew Rybchenko 	EFX_PHY_SFX7101 = 3,
393c838a9fSAndrew Rybchenko 	EFX_PHY_QT2022C2 = 4,
403c838a9fSAndrew Rybchenko 	EFX_PHY_PM8358 = 6,
413c838a9fSAndrew Rybchenko 	EFX_PHY_SFT9001A = 8,
423c838a9fSAndrew Rybchenko 	EFX_PHY_QT2025C = 9,
433c838a9fSAndrew Rybchenko 	EFX_PHY_SFT9001B = 10,
443c838a9fSAndrew Rybchenko 	EFX_PHY_QLX111V = 12,
453c838a9fSAndrew Rybchenko 	EFX_PHY_QT2025_KR = 17,
463c838a9fSAndrew Rybchenko 	EFX_PHY_AEL3020 = 18,
473c838a9fSAndrew Rybchenko 	EFX_PHY_XFI_FARMI = 19,
483c838a9fSAndrew Rybchenko } efx_phy_type_t;
493c838a9fSAndrew Rybchenko 
503c838a9fSAndrew Rybchenko #endif	/* _SYS_EFX_PHY_IDS_H */
51