1/* 2 * Copyright 2016, Data61 3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) 4 * ABN 41 687 119 230. 5 * 6 * This software may be distributed and modified according to the terms of 7 * the GNU General Public License version 2. Note that NO WARRANTY is provided. 8 * See "LICENSE_GPLv2.txt" for details. 9 * 10 * @TAG(DATA61_GPL) 11 */ 12 13#ifndef __ETHIF_AM335X_DRIVER_H 14#define __ETHIF_AM335X_DRIVER_H 15 16#include <platsupport/io.h> 17#include <ethdrivers/raw.h> 18 19/** 20 * This function initialises the hardware and conforms to the ethif_driver_init 21 * type in raw.h 22 * @param[out] eth_driver Ethernet driver structure to fill out 23 * @param[in] io_ops A structure containing os specific data and 24 * functions. 25 * @param[in] config Unused, should be NULL 26 */ 27int ethif_am335x_init(struct eth_driver *eth_driver, ps_io_ops_t io_ops, void *config); 28 29#endif 30