Introduction - If you have any usage issues, please Google them yourself
SFP驱动代码
1. //sfp_types.h
2.
3.
4. *** *** *** *** *** *** *** *** *** *** *** *** *****
5.** 6.** sfp_types.h Include file for the SFP type. 7.** 8.** 03-18-2010 Rudolf Chang : Initial Creation 9.** 04-29-2010 Rudolf Chang : Modify 10.** 11.***************************************************************************** 12.#ifndef _SFP_TYPES_H_ 13.#define _SFP_TYPES_H_ 14.#include <common.h> 15.#define I2C_SW_CTL_CHIP 0x73 16.#define I2C_ETH_SFP_CHIP 0x50 17.#define I2C_IO_EXPA_CHIP 0x26 18.#define I2C_CHANNEL_LM75_1_EN 1 << 0 19.#define I2C_CHANNEL_LM75_2_EN 1 << 1 20.#define I2C_CHANNEL_SFP_EN 1 << 2 21.#define I2C_CHANNEL_IO_EXPA_EN 1 << 3 22.