Intel IXP2400 User Manual page 307

Network processors
Table of Contents

Advertisement

DLLIMPEX int pci_set_param(int device_id, int io_memory, int
start_addr, int size);
/**
The pci_connect_device function connects a device to the PCI
bus
on a specific chip.
The normal sequence of initialization is as follows.
-# pci_define_device()
-# pci_set_param(I/O space) | pci_set_param(memory space)
-# pci_connect_device()
@param chip_name The name of the chip
@param device_id The device_id used with pci_define_device()
@return 1 on succes, 0 on failure
*/
DLLIMPEX int pci_connect_device(char *chip_name, int device_id);
/**
pci_remove_device disconnects a device and then deletes it.
Essentially,
the function performs the inverse operations of
pci_define_device
and pci_connect_device.
@param iDev The device ID of the device to be removed.
device
then deleted.
to
@return 1 on success, 0 on failure
*/
DLLIMPEX int pci_remove_device(int iDev);
/**
The pci_slave_read function reads a slave device's memory.
Development Tools User's Guide
and pci_set_param()
will be disconnected from the PCI Bus and
The device ID can be re-used in new calls
pci_define_device
®
Intel
IXP2400/IXP2800 Network Processors
PCI Bus Functional Model
The
307

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ixp2800

Table of Contents