From: kstailey Date: Thu, 13 Mar 1997 12:22:37 +0000 (+0000) Subject: Copy the scanner_type from the quirkdata to the sio for userland to see. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ad22da0fb2f1072510a96e96024f842107aa3be1;p=openbsd Copy the scanner_type from the quirkdata to the sio for userland to see. --- diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c index c513d33702c..554f4b6ff88 100644 --- a/sys/scsi/ss.c +++ b/sys/scsi/ss.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ss.c,v 1.29 1997/03/13 12:19:59 kstailey Exp $ */ +/* $OpenBSD: ss.c,v 1.30 1997/03/13 12:22:37 kstailey Exp $ */ /* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */ /* @@ -345,6 +345,7 @@ ss_identify_scanner(ss, inqbuf) if (ss->quirkdata->special_minphys != NULL) { ss->special.minphys = ss->quirkdata->special_minphys; } + ss->sio.scan_scanner_type = ss->quirkdata->scanner_type; printf("\n%s: %s\n", ss->sc_dev.dv_xname, ss->quirkdata->name); } else { printf("\n%s: generic scanner\n", ss->sc_dev.dv_xname);