static int
ncv_card_intr(DEVPORT_PDEVICE devi)
{

	ncvintr(DEVPORT_PDEVGET_SOFTC(devi));
	return 1;
}
static void
ncv_card_unload(DEVPORT_PDEVICE devi)
{
	struct ncv_softc *sc = DEVPORT_PDEVGET_SOFTC(devi);

	printf("%s: unload\n", sc->sc_sclow.sl_xname);
	scsi_low_deactivate((struct scsi_low_softc *)sc);
        scsi_low_dettach(&sc->sc_sclow);
}
static void
nsp_card_unload(DEVPORT_PDEVICE devi)
{
    struct nsp_softc *sc = DEVPORT_PDEVGET_SOFTC(devi);
    intrmask_t s;

    s = splcam();
    scsi_low_deactivate((struct scsi_low_softc *)sc);
    scsi_low_dettach(&sc->sc_sclow);
    splx(s);
}
static	void
stg_card_unload(DEVPORT_PDEVICE devi)
{
	struct stg_softc *sc = DEVPORT_PDEVGET_SOFTC(devi);

	kprintf("%s: unload\n",sc->sc_sclow.sl_xname);
	crit_enter();
	scsi_low_deactivate((struct scsi_low_softc *)sc);
        scsi_low_dettach(&sc->sc_sclow);
	crit_exit();
}