File nut/boot/appload/ether.c


Included Files


Global Function EtherInit()

int EtherInit ( void )
Prototyped in: nut/boot/appload/ether.h
Calls: NicPhyConfig() nut/boot/appload/ether.c
  NicReset() nut/boot/appload/ether.c
References Variables: confnet nut/boot/appload/config.c

Global Function EtherInput()

int EtherInput ( u_short type, u_short tms )
Prototyped in: nut/boot/appload/ether.h
Calls: MicroDelay()
Called by: ArpRequest() nut/boot/appload/arp.c
References Variables: rframe

Global Function EtherOutput()

int EtherOutput ( const u_char* dmac, u_short type, u_short len )
Prototyped in: nut/boot/appload/ether.h
Calls: NicMmuWait() nut/boot/appload/ether.c
  memcpy_()
Called by: ArpRequest() nut/boot/appload/arp.c
References Variables: arpframe nut/boot/appload/arp.c
  confnet nut/boot/appload/config.c
  sframe

Global Function NicPhyConfig()

int NicPhyConfig ( void )
Calls: NicPhyRead() nut/boot/appload/ether.c
  NicPhyWrite() nut/boot/appload/ether.c
  Delay()
Called by: EtherInit() nut/boot/appload/ether.c

Global Function NicPhyRead()

u_short NicPhyRead ( u_char reg )
Calls: NicPhyRegSelect() nut/boot/appload/ether.c
Called by: NicPhyConfig() nut/boot/appload/ether.c

Global Function NicPhyRegSelect()

u_char NicPhyRegSelect ( u_char reg, u_char we )
Called by: NicPhyRead() nut/boot/appload/ether.c
  NicPhyWrite() nut/boot/appload/ether.c

Global Function NicPhyWrite()

void NicPhyWrite ( u_char reg, u_short val )
Calls: NicPhyRegSelect() nut/boot/appload/ether.c
Called by: NicPhyConfig() nut/boot/appload/ether.c

Global Function NicReset()

int NicReset ( void )
Calls: NicMmuWait() nut/boot/appload/ether.c
  Delay()
Called by: EtherInit() nut/boot/appload/ether.c

Local Function NicMmuWait()

static int NicMmuWait ( u_short tmo )
Calls: MicroDelay()
Called by: EtherOutput() nut/boot/appload/ether.c
  NicReset() nut/boot/appload/ether.c