diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-08-27 22:25:57 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-09-09 07:48:03 -0600 |
commit | ca19a79342cf953bc652ce41534c86ce4e79f26a (patch) | |
tree | d7739908b02a3973ce7010ff51a6c564c367c4f3 /drivers/net/pch_gbe.h | |
parent | 868767c71a375a07a44cc4fd49d67a4e2b1b9e8b (diff) | |
download | u-boot-imx-ca19a79342cf953bc652ce41534c86ce4e79f26a.zip u-boot-imx-ca19a79342cf953bc652ce41534c86ce4e79f26a.tar.gz u-boot-imx-ca19a79342cf953bc652ce41534c86ce4e79f26a.tar.bz2 |
net: pch_gbe: Convert to driver model
This commit converts pch_gbe ethernet driver to driver model.
Since this driver is only used by Intel Crown Bay board, the
conversion does not keep the non-dm version.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/net/pch_gbe.h')
-rw-r--r-- | drivers/net/pch_gbe.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/pch_gbe.h b/drivers/net/pch_gbe.h index 11329d4..afcb03d 100644 --- a/drivers/net/pch_gbe.h +++ b/drivers/net/pch_gbe.h @@ -287,12 +287,10 @@ struct pch_gbe_priv { struct pch_gbe_rx_desc rx_desc[PCH_GBE_DESC_NUM]; struct pch_gbe_tx_desc tx_desc[PCH_GBE_DESC_NUM]; char rx_buff[PCH_GBE_DESC_NUM][PCH_GBE_RX_FRAME_LEN]; - struct eth_device *dev; struct phy_device *phydev; struct mii_dev *bus; struct pch_gbe_regs *mac_regs; pci_dev_t bdf; - u32 interface; int rx_idx; int tx_idx; }; |