Intel IXP2400 User Manual page 306

Network processors
Table of Contents

Advertisement

®
Intel
IXP2400/IXP2800 Network Processors
PCI Bus Functional Model
#ifndef DLLIMPEX
#define DLLIMPEX __declspec(dllimport)
#endif
/**
The pci_define_device function defines a PCI slave or master
device
@param device_id:
quent
@param mode:
@return 1 on succes, 0 on failure
*/
DLLIMPEX int pci_define_device(int device_id,
/**
The pci_set_param function specifies various parameters in a
previously defined device.
Each slave device can respond to one I/O space address range
and
one memory space address range.
@param device_id The device_id used in conjunction with
@param io_memory 0 = I/O space; 1 = memory space
@param start_addr Start address for the range. Though there
is
PCI
divisible
Space" for
@param size Size of address range in bytes
@return 1 on success, 0 on failure
*/
306
A unique integer used to identify the device in subse-
function calls.
1 = slave.
All other values are Reserved and should not be used.
int mode);
pci_define_device( )
no restriction on alignment imposed by this function,
devices in practice must be aligned to a boundary
by their range.
more info.
This can take a value of 0 or 1.
See the PCI Spec "Configuration
Development Tools User's Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ixp2800

Table of Contents