Intel PCI User Manual

Page of 54
GigMAC-PMC and PCI 
GigPMC Switch  
 
Board and Driver Users Manual 
DSS NETWORKS, INC. 
Version: 2.6 
  Page: 48 
 
 
 
Functions to read and write registers in the switch: 
 
STATUS inReadSpiReg(int unit, int page, int offset, int bCnt, UINT8 *pData); 
 
STATUS inWriteSpiReg8(int unit, int page, int offset, int val); 
 
STATUS inWriteSpiReg16(int unit, int page, int offset, int val); 
 
STATUS inWriteSpiReg32(int unit, int page, int offset, int val); 
 
 
Note: The Intel device driver supporting the Model 5468/6468 cards initializes the 
switch by writing a default configuration during initialization. This is performed in the 
Intel driver initialization using the function “inLiInitBcm5388()”. This function may be 
modified to make changes to the default configuration. Additional switch management 
functions may be implemented using the low-level register access API shown. For 
additional information and register programming details, please contact technical 
support.