From ad22da0fb2f1072510a96e96024f842107aa3be1 Mon Sep 17 00:00:00 2001 From: kstailey Date: Thu, 13 Mar 1997 12:22:37 +0000 Subject: [PATCH] Copy the scanner_type from the quirkdata to the sio for userland to see. --- sys/scsi/ss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1