GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)

This commit is contained in:
lai
2026-09-06 03:52:57 +08:00
commit b1928b41c0
21813 changed files with 4413081 additions and 0 deletions
@@ -0,0 +1,21 @@
/*
* Copyright (c) LOTUS. All rights reserved.
*/
#ifndef __MARVELL_PHY_H
#define __MARVELL_PHY_H
#define PHY_MARVELL 0X141
#define MII_MARVELL_PHY_PAGE 22
#define MII_M1011_PHY_SCR 0x10
#define MII_M1011_PHY_SCR_MDI 0x0000
#define MII_M1011_PHY_SCR_MDI_X 0x0020
#define MII_M1011_PHY_SCR_AUTO_CROSS 0x0060
#define MII_M1116R_CONTROL_REG_MAC 21
int marvell_phy_init(struct eth_device *dev, int phy_addr);
#endif /* __MARVELL_PHY_H */