/* <:copyright-BRCM:2016:DUAL/GPL:standard Copyright (c) 2016 Broadcom All Rights Reserved This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation (the "GPL"). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. A copy of the GPL is available at http://www.broadcom.com/licenses/GPLv2.php, or by writing to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. :> */ #ifndef TRX_DESCR_GEN_H_INCLUDED #define TRX_DESCR_GEN_H_INCLUDED #include #include #include #include "detect.h" typedef enum { TRX_SFF = 0x2, TRX_SFP = 0x3, TRX_XFP = 0x6, TRX_PMD = 0xff, } TRX_FORM_FACTOR; typedef struct { TRX_FORM_FACTOR form_factor; uint8_t vendor_name[20]; uint8_t vendor_pn[20]; TRX_SIG_ACTIVE_POLARITY lbe_polarity; TRX_SIG_ACTIVE_POLARITY tx_sd_polarity; TRX_SIG_ACTIVE_POLARITY tx_pwr_down_polarity; bdmf_boolean tx_pwr_down_cfg_req; } TRX_DESCRIPTOR; /* * List of xPON and AE transcievers used by BRCM. * To extend/override this list put the entries to trx_usr[] array in ./trx_descr_usr.h */ static TRX_DESCRIPTOR trx_lst[] = { { .form_factor = TRX_SFP, .vendor_name = "SOURCEPHOTONICS", .vendor_pn = "SPPS2748FN2CDFA", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_TRUE }, { .form_factor = TRX_XFP, .vendor_name = "Hisense", .vendor_pn = "LTW2601C-BC+", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_XFP, .vendor_name = "Hisense", .vendor_pn = "LTW2601-BC", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_SFP, .vendor_name = "Ligent Photonics", .vendor_pn = "LTF7219-BC", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_SFP, .vendor_name = "NEOPHOTONICS", .vendor_pn = "PTNEN3-41CP-ST+", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_SFF, .vendor_name = "DELTA", .vendor_pn = "OPGP-34-A4B3SN", .lbe_polarity = TRX_ACTIVE_HIGH, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_XFP, .vendor_name = "Ligent", .vendor_pn = "LTW2601C-BC", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_SFP, .vendor_name = "Ligent Photonics", .vendor_pn = "LTF7221-BH", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_SFP, .vendor_name = "Ligent Photonics", .vendor_pn = "LTF7221-BC", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, { .form_factor = TRX_SFP, .vendor_name = "Ligent Photonics", .vendor_pn = "LTF7225-BC", .lbe_polarity = TRX_ACTIVE_LOW, .tx_sd_polarity = TRX_ACTIVE_HIGH, .tx_pwr_down_polarity = TRX_ACTIVE_LOW, .tx_pwr_down_cfg_req = BDMF_FALSE }, } ; #endif /* TRX_DESCR_GEN_H_INCLUDED */