~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/sh/include/asm/sh_eth.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef __ASM_SH_ETH_H__
2
2
#define __ASM_SH_ETH_H__
3
3
 
 
4
#include <linux/phy.h>
 
5
 
4
6
enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN};
 
7
enum {
 
8
        SH_ETH_REG_GIGABIT,
 
9
        SH_ETH_REG_FAST_SH4,
 
10
        SH_ETH_REG_FAST_SH3_SH2
 
11
};
5
12
 
6
13
struct sh_eth_plat_data {
7
14
        int phy;
8
15
        int edmac_endian;
 
16
        int register_type;
 
17
        phy_interface_t phy_interface;
 
18
        void (*set_mdio_gate)(unsigned long addr);
9
19
 
10
20
        unsigned char mac_addr[6];
11
21
        unsigned no_ether_link:1;