adjust comments
authorkstailey <kstailey@openbsd.org>
Tue, 11 Mar 1997 12:06:48 +0000 (12:06 +0000)
committerkstailey <kstailey@openbsd.org>
Tue, 11 Mar 1997 12:06:48 +0000 (12:06 +0000)
sys/scsi/ss.c
sys/scsi/ss_scanjet.c

index 665955f..03d3a5c 100644 (file)
@@ -1,4 +1,4 @@
-/*     $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 $ */
 
 /*
@@ -333,6 +333,8 @@ ss_identify_scanner(ss, inqbuf)
        } 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 */
        }
 }
 
index f74adfa..21c9850 100644 (file)
@@ -1,4 +1,4 @@
-/*     $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 $  */
 
 /*
@@ -122,12 +122,16 @@ scanjet_attach(ss, sa)
        /* 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");