1. NAME

i2o_pci_alloc - Allocate DMA memory, map IO memory for I2O controller

2. SYNOPSIS

int i2o_pci_alloc(struct i2o_controller *  c );

3. ARGUMENTS

c
    I2O controller

4. DESCRIPTION

Allocate DMA memory for a PCI (or in theory AGP) I2O controller. All IO mappings are also done here. If MTRR is enabled, also do add memory regions here.

Returns 0 on success or negative error code on failure.

5. COPYRIGHT