mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Arnd Bergmann](/assets/img/avatar_default.png)
The platform data is needed to compile the driver as standalone, so move it to a global location along with similar files. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
19 lines
434 B
C
19 lines
434 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __PLATFORM_DATA_ETH_IXP4XX
|
|
#define __PLATFORM_DATA_ETH_IXP4XX
|
|
|
|
#include <linux/types.h>
|
|
|
|
#define IXP4XX_ETH_NPEA 0x00
|
|
#define IXP4XX_ETH_NPEB 0x10
|
|
#define IXP4XX_ETH_NPEC 0x20
|
|
|
|
/* Information about built-in Ethernet MAC interfaces */
|
|
struct eth_plat_info {
|
|
u8 phy; /* MII PHY ID, 0 - 31 */
|
|
u8 rxq; /* configurable, currently 0 - 31 only */
|
|
u8 txreadyq;
|
|
u8 hwaddr[6];
|
|
};
|
|
|
|
#endif
|