Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6928
b: refs/heads/master
c: 28fa031
h: refs/heads/master
v: v3
  • Loading branch information
Eugene Surovegin authored and Linus Torvalds committed Sep 5, 2005
1 parent 8e32ef5 commit 73cc53d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c31625aa844d549cbb8a7aafb94ec4fde8b54a3
refs/heads/master: 28fa031e765b808520173f750bafbade832ba909
7 changes: 0 additions & 7 deletions trunk/arch/ppc/platforms/4xx/bamboo.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@
#include <syslib/gen550.h>
#include <syslib/ibm440gx_common.h>

/*
* This is a horrible kludge, we eventually need to abstract this
* generic PHY stuff, so the standard phy mode defines can be
* easily used from arch code.
*/
#include "../../../../drivers/net/ibm_emac/ibm_emac_phy.h"

bd_t __res;

static struct ibm44x_clocks clocks __initdata;
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/ppc/platforms/4xx/ebony.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@
#include <syslib/gen550.h>
#include <syslib/ibm440gp_common.h>

/*
* This is a horrible kludge, we eventually need to abstract this
* generic PHY stuff, so the standard phy mode defines can be
* easily used from arch code.
*/
#include "../../../../drivers/net/ibm_emac/ibm_emac_phy.h"

bd_t __res;

static struct ibm44x_clocks clocks __initdata;
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/ppc/platforms/4xx/luan.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@
#include <syslib/ibm440gx_common.h>
#include <syslib/ibm440sp_common.h>

/*
* This is a horrible kludge, we eventually need to abstract this
* generic PHY stuff, so the standard phy mode defines can be
* easily used from arch code.
*/
#include "../../../../drivers/net/ibm_emac/ibm_emac_phy.h"

bd_t __res;

static struct ibm44x_clocks clocks __initdata;
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/ppc/platforms/4xx/ocotea.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@
#include <syslib/gen550.h>
#include <syslib/ibm440gx_common.h>

/*
* This is a horrible kludge, we eventually need to abstract this
* generic PHY stuff, so the standard phy mode defines can be
* easily used from arch code.
*/
#include "../../../../drivers/net/ibm_emac/ibm_emac_phy.h"

bd_t __res;

static struct ibm44x_clocks clocks __initdata;
Expand Down
13 changes: 13 additions & 0 deletions trunk/include/asm-ppc/ibm_ocp.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@ void ocp_show_emac_data(struct device *dev) \
device_create_file(dev, &dev_attr_emac_phy_map); \
}

/*
* PHY mode settings (EMAC <-> ZMII/RGMII bridge <-> PHY)
*/
#define PHY_MODE_NA 0
#define PHY_MODE_MII 1
#define PHY_MODE_RMII 2
#define PHY_MODE_SMII 3
#define PHY_MODE_RGMII 4
#define PHY_MODE_TBI 5
#define PHY_MODE_GMII 6
#define PHY_MODE_RTBI 7
#define PHY_MODE_SGMII 8

#ifdef CONFIG_40x
/*
* Helper function to copy MAC addresses from the bd_t to OCP EMAC
Expand Down

0 comments on commit 73cc53d

Please sign in to comment.