Intel IXP2400 User Manual page 309

Network processors
Table of Contents

Advertisement

/**
The pci_slave_write function writes to a slave device's mem-
ory.
ONLY 32-bit data and address are supported.
It provides a backdoor mechanism to initialize memory loca-
tions
in the device.
@param io_space
@param address The full PCI address, not the address
@param data The data to be written
@param byte_en The Byte Enables bits [4::0] active low
@return 1 on succes, 0 on failure
*/
DLLIMPEX int pci_slave_write(int device_id,
/**
The pci_set_error_level function controls the verbosity of
debug
printout.
@param level Uses codes from [-1 .. 2]
<table>
information </td></tr>
error messages.
PCI transaction details. </td></tr>
</td></tr>
</table>
@return 1 on succes, 0 on failure
*/
Development Tools User's Guide
int data);
0 = use I/O space,
1 = use memory space
relative to the device's base address.
int io_space,
int address,
int data,
int byte_en);
<tr><td> (-1) prints everything including debug trace
<tr><td> ( 0) prints only informational, warning and
<tr><td> ( 1) prints only warning and error messages
<tr><td> ( 2) prints only error messages </td></tr>
®
Intel
IXP2400/IXP2800 Network Processors
PCI Bus Functional Model
Informational messages include all
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ixp2800

Table of Contents