blob: a316e760121a6913a74cf7c58898475a9606f4b0 [file] [log] [blame]
/*
* Copyright 2017, DornerWorks, Ltd.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(OTHER_GPL)
*/
#ifndef __ETHIF_ZYNQ7000_DRIVER_H
#define __ETHIF_ZYNQ7000_DRIVER_H
#include <platsupport/io.h>
#include <ethdrivers/raw.h>
#define ZYNQ7000_INTERRUPT_ETH0 54
/**
* This function initialises the hardware and conforms to the ethif_driver_init
* type in raw.h
* @param[out] eth_driver Ethernet driver structure to fill out
* @param[in] io_ops A structure containing os specific data and
* functions.
* @param[in] config Platform Specific configuration data
*/
int ethif_zynq7000_init(struct eth_driver *eth_driver, ps_io_ops_t io_ops, void *config);
#endif