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
mdio-gpio.h
Go to the documentation of this file.
1
/*
2
* MDIO-GPIO bus platform data structures
3
*
4
* Copyright (C) 2008, Paulius Zaleckas <
[email protected]
>
5
*
6
* This file is licensed under the terms of the GNU General Public License
7
* version 2. This program is licensed "as is" without any warranty of any
8
* kind, whether express or implied.
9
*/
10
11
#ifndef __LINUX_MDIO_GPIO_H
12
#define __LINUX_MDIO_GPIO_H
13
14
#include <
linux/mdio-bitbang.h
>
15
16
struct
mdio_gpio_platform_data
{
17
/* GPIO numbers for bus pins */
18
unsigned
int
mdc
;
19
unsigned
int
mdio
;
20
21
unsigned
int
phy_mask
;
22
int
irqs
[
PHY_MAX_ADDR
];
23
/* reset callback */
24
int
(*
reset
)(
struct
mii_bus
*
bus
);
25
};
26
27
#endif
/* __LINUX_MDIO_GPIO_H */
Generated on Thu Jan 10 2013 14:51:49 for Linux Kernel by
1.8.2