https://github.com/torvalds/linux
Raw File
Tip revision: dc1c8034e31b14a2e5e212104ec508aec44ce1b9 authored by Linus Torvalds on 29 July 2024, 03:24:12 UTC
minmax: simplify min()/max()/clamp() implementation
Tip revision: dc1c803
fec.h
/* SPDX-License-Identifier: GPL-2.0-only */
/* include/linux/fec.h
 *
 * Copyright (c) 2009 Orex Computed Radiography
 *   Baruch Siach <baruch@tkos.co.il>
 *
 * Copyright (C) 2010 Freescale Semiconductor, Inc.
 *
 * Header file for the FEC platform data
 */
#ifndef __LINUX_FEC_H__
#define __LINUX_FEC_H__

#include <linux/phy.h>

struct fec_platform_data {
	phy_interface_t phy;
	unsigned char mac[ETH_ALEN];
	void (*sleep_mode_enable)(int enabled);
};

#endif
back to top