Export dma_alloc/release_from_contiguous so that the driver can be a module again
Allocate a module-param number of pages
Configure the inbound viewport on probe, release cma on remove. Also, use pci_enable_master instead of rolling our own function