ssclose(dev)
ssclose(dev, flag, mode, p)
ssclose(dev)	dev_t dev;{	struct ss_softc *ss = sscd.cd_devs[SSUNIT(dev)];	int error;	SC_DEBUG(ss->sc_link, SDEV_DB1, ("closing\n"));	if (SSMODE(dev) == MODE_REWIND) {		if (ss->special->rewind_scanner) {			/* call special handler to rewind/abort scan */			error = (ss->special->rewind_scanner)(ss);			if (error)				return (error);		} else {			/* XXX add code to restart a SCSI2 scanner, if any */		}		ss->sio.scan_window_size = 0;		ss->flags &= ~SSF_TRIGGERED;	}	ss->sc_link->flags &= ~SDEV_OPEN;	return (0);}