Name

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

Synopsis

int i2o_pci_alloc (struct i2o_controller *  c);

Arguments

c

I2O controller

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.