This is based on the sys/arm/mv/ pci resource/allocation code. Submitted by: Stanislav Galabov <galabov@gmail.com>