beautypg.com

7 stether_open (), Stether_open (), Figure 9: stether_open call graph (first level) – Maxim Integrated 78Q8430 ST 5100/OS-20 with NexGen TCP/IP Stack User Manual

Page 17

background image

UM_8430_005

78Q8430 Driver Manual for ST5100/OS-20 with NexGen TCP/IP Stack

Rev. 1.0

17

4.7 STETHER_Open

()

Prototype:

int STETHER_Open (NGifnet * netp)


Description:

Driver initialization begins with this function. It initializes the default configuration in the device control
structure. It calls tscDeviceInit() to set up the hardware with the default configuration.

Parameters:

netp

network interface type NGethifnet_tsc

Returns:

NULL if OK.
err Error code in case of error.

STETHER_Open

STETHER_CopyData

tscDisableIntr

STETHER_InterruptHandler

STETHER_Config_ARC

tscStructInit

tscDeviceInit

tscPhyStatus

tscWriteReg_BUS16

tscEnableIntr

tscReadReg_BUS16

Figure 9: STETHER_Open Call Graph (First Level)