|
@@ -9,14 +9,17 @@
|
|
#ifndef _PHY_H
|
|
#ifndef _PHY_H
|
|
#define _PHY_H
|
|
#define _PHY_H
|
|
|
|
|
|
-#include <dm.h>
|
|
|
|
|
|
+#include <log.h>
|
|
|
|
+#include <phy_interface.h>
|
|
|
|
+#include <dm/ofnode.h>
|
|
|
|
+#include <dm/read.h>
|
|
#include <linux/errno.h>
|
|
#include <linux/errno.h>
|
|
#include <linux/list.h>
|
|
#include <linux/list.h>
|
|
#include <linux/mii.h>
|
|
#include <linux/mii.h>
|
|
#include <linux/ethtool.h>
|
|
#include <linux/ethtool.h>
|
|
#include <linux/mdio.h>
|
|
#include <linux/mdio.h>
|
|
-#include <log.h>
|
|
|
|
-#include <phy_interface.h>
|
|
|
|
|
|
+
|
|
|
|
+struct udevice;
|
|
|
|
|
|
#define PHY_FIXED_ID 0xa5a55a5a
|
|
#define PHY_FIXED_ID 0xa5a55a5a
|
|
#define PHY_NCSI_ID 0xbeefcafe
|
|
#define PHY_NCSI_ID 0xbeefcafe
|