backplaneCoreDisable.c File Reference

Implements the functions: backplaneCoreDisable. More...

#include <stddef.h>
#include <stdio.h>
#include <sbconfig.h>
#include <sbchipc.h>
#include <backplane.h>

Include dependency graph for backplaneCoreDisable.c:

Go to the source code of this file.

Functions

int waitOnBit (volatile ulong *, ulong, const ulong, ulong)
 Wait on a bit in a device's control and status register.
int backplaneCoreDisable (backplaneConfig *bpConfig)
 Disable a Silicon Backplane core.


Detailed Description

Implements the functions: backplaneCoreDisable.

Id
backplaneCoreDisable.c 1447 2008-08-12 19:23:34Z mschul

Definition in file backplaneCoreDisable.c.


Function Documentation

int backplaneCoreDisable ( backplaneConfig *  bpConfig  ) 

Disable a Silicon Backplane core.

Parameters:
bpConfig pointer to device Silicon Backplane configuration space
Returns:
OK if all goes well

Definition at line 30 of file backplaneCoreDisable.c.

References NULL, OK, SYSERR, and waitOnBit().

Here is the call graph for this function:

int waitOnBit ( volatile ulong reg,
ulong  mask,
const ulong  value,
ulong  timeout 
)

Wait on a bit in a device's control and status register.

Parameters:
reg pointer to device status register
mask bit to wait on
value bit value desired
timeout number of retries before giving up
Returns:
OK or SYSERR

Definition at line 21 of file waitOnBit.c.

Referenced by backplaneCoreDisable(), and etherControl().

Here is the caller graph for this function:


Generated on Wed Aug 27 06:07:48 2008 for Embedded XINU by  doxygen 1.5.5