OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [boot-loader-ethmac/] [ethmac.h] - Diff between revs 61 and 80

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 61 Rev 80
Line 36... Line 36...
// Public License along with this source; if not, download it   //
// Public License along with this source; if not, download it   //
// from http://www.opencores.org/lgpl.shtml                     //
// from http://www.opencores.org/lgpl.shtml                     //
//                                                              //
//                                                              //
----------------------------------------------------------------*/
----------------------------------------------------------------*/
 
 
 
/* Global variables */
 
extern packet_t*   rx_packet_g;
 
 
/* Function prototypes */
/* Function prototypes */
 
void            init_ethmac             (void);
int             open_link               (void);
int             open_link               (void);
void            close_link              (void);
void            close_link              (void);
int             config_phy              (void);
int             init_phy                (void);
 
 
void            mdio_ready              ();
void            mdio_ready              ();
int             mdio_read               (int addr, int reg);
int             mdio_read               (int addr, int reg);
void            mdio_write              (int addr, int reg, int data);
void            mdio_write              (int addr, int reg, int data);
unsigned short  mdio_ctrl               (unsigned int addr, unsigned int dir, unsigned int reg, unsigned short data);
unsigned short  mdio_ctrl               (unsigned int addr, unsigned int dir, unsigned int reg, unsigned short data);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.