I have an LKM that I'm working on for a pci card. It works fine, except for if I load the lkm, unload it, then load it again, pci_mapreg_map fails the second time around. It will only work again after a reboot, which defeats the purpose of the LKM. Is there something I need to do to clean up after pci_mapreg_map? Thanks Ben