static int nsp_pccard_detach(device_t dev) { nsp_card_unload(dev); nsp_release_resource(dev); return (0); }
static void nsp_pccard_detach(DEVPORT_PDEVICE dev) { nsp_card_unload(dev); nsp_release_resource(dev); }