Added GENERIC_SCSI2 scanner type.
authorkstailey <kstailey@openbsd.org>
Tue, 11 Mar 1997 04:00:15 +0000 (04:00 +0000)
committerkstailey <kstailey@openbsd.org>
Tue, 11 Mar 1997 04:00:15 +0000 (04:00 +0000)
sys/scsi/ss.c

index 15c3738..665955f 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ss.c,v 1.26 1997/03/11 03:40:49 kstailey Exp $        */
+/*     $OpenBSD: ss.c,v 1.27 1997/03/11 04:00:15 kstailey Exp $        */
 /*     $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
 
 /*
@@ -331,7 +331,8 @@ ss_identify_scanner(ss, inqbuf)
                }
                printf("%s\n", ss->quirkdata->name);
        } else {
-               printf(" generic scanner\n"); /* good luck 8c{)] */
+               printf("\n%s: generic scanner\n", ss->sc_dev.dv_xname);
+               ss->sio.scan_scanner_type = GENERIC_SCSI2;
        }
 }