Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
pxa168_eth.h
Go to the documentation of this file.
1
/*
2
*pxa168 ethernet platform device data definition file.
3
*/
4
#ifndef __LINUX_PXA168_ETH_H
5
#define __LINUX_PXA168_ETH_H
6
7
struct
pxa168_eth_platform_data
{
8
int
port_number
;
9
int
phy_addr
;
10
11
/*
12
* If speed is 0, then speed and duplex are autonegotiated.
13
*/
14
int
speed
;
/* 0, SPEED_10, SPEED_100 */
15
int
duplex
;
/* DUPLEX_HALF or DUPLEX_FULL */
16
17
/*
18
* Override default RX/TX queue sizes if nonzero.
19
*/
20
int
rx_queue_size
;
21
int
tx_queue_size
;
22
23
/*
24
* init callback is used for board specific initialization
25
* e.g on Aspenite its used to initialize the PHY transceiver.
26
*/
27
int
(*
init
)(
void
);
28
};
29
30
#endif
/* __LINUX_PXA168_ETH_H */
Generated on Thu Jan 10 2013 14:52:25 for Linux Kernel by
1.8.2