Linux Audio

Check our new training course

Loading...
v4.10.11
 1/*
 2 * Copyright (C) 2004-2006 Atmel Corporation
 3 *
 4 * This program is free software; you can redistribute it and/or modify
 5 * it under the terms of the GNU General Public License version 2 as
 6 * published by the Free Software Foundation.
 7 */
 8#ifndef __MACB_PDATA_H__
 9#define __MACB_PDATA_H__
10
11#include <linux/clk.h>
12
13/**
14 * struct macb_platform_data - platform data for MACB Ethernet
15 * @phy_mask:		phy mask passed when register the MDIO bus
16 *			within the driver
17 * @phy_irq_pin:	PHY IRQ
18 * @is_rmii:		using RMII interface?
19 * @rev_eth_addr:	reverse Ethernet address byte order
20 * @pclk:		platform clock
21 * @hclk:		AHB clock
22 */
23struct macb_platform_data {
24	u32		phy_mask;
25	int		phy_irq_pin;
26	u8		is_rmii;
27	u8		rev_eth_addr;
28	struct clk	*pclk;
29	struct clk	*hclk;
30};
31
32#endif /* __MACB_PDATA_H__ */
v3.15
 1/*
 2 * Copyright (C) 2004-2006 Atmel Corporation
 3 *
 4 * This program is free software; you can redistribute it and/or modify
 5 * it under the terms of the GNU General Public License version 2 as
 6 * published by the Free Software Foundation.
 7 */
 8#ifndef __MACB_PDATA_H__
 9#define __MACB_PDATA_H__
10
 
 
 
 
 
 
 
 
 
 
 
 
11struct macb_platform_data {
12	u32		phy_mask;
13	int		phy_irq_pin;	/* PHY IRQ */
14	u8		is_rmii;	/* using RMII interface? */
15	u8		rev_eth_addr;	/* reverse Ethernet address byte order */
 
 
16};
17
18#endif /* __MACB_PDATA_H__ */