Subject: LKMs and pci_mapreg_map
To: None <tech-kern@netbsd.org>
From: None <ben@eitzen.org>
List: tech-kern
Date: 05/13/2002 13:45:35
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