summaryrefslogtreecommitdiff
path: root/sys/scsi/ss_scanjet.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-03-11 12:06:50 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-03-11 12:06:50 +0000
commit124653ea531b2f03718da9452d29e96b0377fb80 (patch)
tree27ef11fedfe68fc84fb68c68bd8705fe07f97e6c /sys/scsi/ss_scanjet.c
parent6e8c0497afb3eedfbc3e70be4884c8d394ce02ec (diff)
adjust comments
Diffstat (limited to 'sys/scsi/ss_scanjet.c')
-rw-r--r--sys/scsi/ss_scanjet.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/scsi/ss_scanjet.c b/sys/scsi/ss_scanjet.c
index f74adfad9a3..21c9850f310 100644
--- a/sys/scsi/ss_scanjet.c
+++ b/sys/scsi/ss_scanjet.c
@@ -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");