-/* $OpenBSD: ss.c,v 1.27 1997/03/11 04:00:15 kstailey Exp $ */
+/* $OpenBSD: ss.c,v 1.28 1997/03/11 12:06:48 kstailey Exp $ */
/* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
/*
} else {
printf("\n%s: generic scanner\n", ss->sc_dev.dv_xname);
ss->sio.scan_scanner_type = GENERIC_SCSI2;
+ /* XXX fill in the rest of the scan_io struct by
+ calling compute_sizes routine */
}
}
-/* $OpenBSD: ss_scanjet.c,v 1.17 1997/03/11 03:40:50 kstailey Exp $ */
+/* $OpenBSD: ss_scanjet.c,v 1.18 1997/03/11 12:06:49 kstailey Exp $ */
/* $NetBSD: ss_scanjet.c,v 1.6 1996/05/18 22:58:01 christos Exp $ */
/*
/* now install special handlers */
ss->special = scanjet_special;
- error = scanjet_set_window(ss, SCSI_POLL);/* XXX needed? */
-
+ /*
+ * fill in the rest of the scan_io struct by calling
+ * set_window and compute_sizes routines
+ */
+ error = scanjet_set_window(ss, SCSI_POLL);
if (error) {
printf(" set_window failed\n");
return;
}
+
error = scanjet_compute_sizes(ss, SCSI_POLL);
if (error) {
printf(" compute_sizes failed\n");