diff options
author | 1997-03-13 12:22:37 +0000 | |
---|---|---|
committer | 1997-03-13 12:22:37 +0000 | |
commit | ad22da0fb2f1072510a96e96024f842107aa3be1 (patch) | |
tree | 9b6ba3ef8e45e9e7a0ce4213d10c058fdf7f339b | |
parent | Add scanner_type and compute_sizes() to quirks. (diff) | |
download | wireguard-openbsd-ad22da0fb2f1072510a96e96024f842107aa3be1.tar.xz wireguard-openbsd-ad22da0fb2f1072510a96e96024f842107aa3be1.zip |
Copy the scanner_type from the quirkdata to the sio for userland to see.
-rw-r--r-- | sys/scsi/ss.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |