Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
srom.c File Reference
#include "upc.h"
#include "tmacro.h"
#include "tether.h"
#include "mac.h"
#include "srom.h"

Go to the source code of this file.

Functions

unsigned char SROMbyReadEmbedded (unsigned long dwIoBase, unsigned char byContntOffset)
 
bool SROMbWriteEmbedded (unsigned long dwIoBase, unsigned char byContntOffset, unsigned char byData)
 
void SROMvRegBitsOn (unsigned long dwIoBase, unsigned char byContntOffset, unsigned char byBits)
 
void SROMvRegBitsOff (unsigned long dwIoBase, unsigned char byContntOffset, unsigned char byBits)
 
bool SROMbIsRegBitsOn (unsigned long dwIoBase, unsigned char byContntOffset, unsigned char byTestBits)
 
bool SROMbIsRegBitsOff (unsigned long dwIoBase, unsigned char byContntOffset, unsigned char byTestBits)
 
void SROMvReadAllContents (unsigned long dwIoBase, unsigned char *pbyEepromRegs)
 
void SROMvWriteAllContents (unsigned long dwIoBase, unsigned char *pbyEepromRegs)
 
void SROMvReadEtherAddress (unsigned long dwIoBase, unsigned char *pbyEtherAddress)
 
void SROMvWriteEtherAddress (unsigned long dwIoBase, unsigned char *pbyEtherAddress)
 
void SROMvReadSubSysVenId (unsigned long dwIoBase, unsigned long *pdwSubSysVenId)
 
bool SROMbAutoLoad (unsigned long dwIoBase)
 

Function Documentation

bool SROMbAutoLoad ( unsigned long  dwIoBase)

Definition at line 392 of file srom.c.

bool SROMbIsRegBitsOff ( unsigned long  dwIoBase,
unsigned char  byContntOffset,
unsigned char  byTestBits 
)

Definition at line 248 of file srom.c.

bool SROMbIsRegBitsOn ( unsigned long  dwIoBase,
unsigned char  byContntOffset,
unsigned char  byTestBits 
)

Definition at line 225 of file srom.c.

bool SROMbWriteEmbedded ( unsigned long  dwIoBase,
unsigned char  byContntOffset,
unsigned char  byData 
)

Definition at line 128 of file srom.c.

unsigned char SROMbyReadEmbedded ( unsigned long  dwIoBase,
unsigned char  byContntOffset 
)

Definition at line 79 of file srom.c.

void SROMvReadAllContents ( unsigned long  dwIoBase,
unsigned char pbyEepromRegs 
)

Definition at line 269 of file srom.c.

void SROMvReadEtherAddress ( unsigned long  dwIoBase,
unsigned char pbyEtherAddress 
)

Definition at line 318 of file srom.c.

void SROMvReadSubSysVenId ( unsigned long  dwIoBase,
unsigned long pdwSubSysVenId 
)

Definition at line 367 of file srom.c.

void SROMvRegBitsOff ( unsigned long  dwIoBase,
unsigned char  byContntOffset,
unsigned char  byBits 
)

Definition at line 202 of file srom.c.

void SROMvRegBitsOn ( unsigned long  dwIoBase,
unsigned char  byContntOffset,
unsigned char  byBits 
)

Definition at line 181 of file srom.c.

void SROMvWriteAllContents ( unsigned long  dwIoBase,
unsigned char pbyEepromRegs 
)

Definition at line 294 of file srom.c.

void SROMvWriteEtherAddress ( unsigned long  dwIoBase,
unsigned char pbyEtherAddress 
)

Definition at line 343 of file srom.c.