diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-08-02 21:35:34 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-08-02 21:35:34 +0000 |
commit | 75ccbf0f226deb4dcc38f0d1a350030b1796a117 (patch) | |
tree | 2d164407aafe455a404087448cc7c679d14a417e | |
parent | c068af62ac9599b69814240245cd96d475e3f38d (diff) |
add ScanJet 5p, untested
-rw-r--r-- | sys/scsi/ss.c | 4 | ||||
-rw-r--r-- | sys/scsi/ss_scanjet.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c index 21d70ebdde4..b64386ff5c3 100644 --- a/sys/scsi/ss.c +++ b/sys/scsi/ss.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ss.c,v 1.33 1997/04/15 10:51:36 tholo Exp $ */ +/* $OpenBSD: ss.c,v 1.34 1997/08/02 21:35:32 kstailey Exp $ */ /* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */ /* @@ -272,6 +272,8 @@ struct scsi_inquiry_pattern ss_patterns[] = { "HP ", "C2500A ", ""}, {T_PROCESSOR, T_FIXED, "HP ", "C1130A ", ""}, + {T_PROCESSOR, T_FIXED, + "HP ", "C5110A ", ""}, }; int diff --git a/sys/scsi/ss_scanjet.c b/sys/scsi/ss_scanjet.c index f4b2937c487..e9e449e4677 100644 --- a/sys/scsi/ss_scanjet.c +++ b/sys/scsi/ss_scanjet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ss_scanjet.c,v 1.19 1997/05/05 13:14:18 niklas Exp $ */ +/* $OpenBSD: ss_scanjet.c,v 1.20 1997/08/02 21:35:33 kstailey Exp $ */ /* $NetBSD: ss_scanjet.c,v 1.6 1996/05/18 22:58:01 christos Exp $ */ /* @@ -117,6 +117,10 @@ scanjet_attach(ss, sa) ss->sio.scan_scanner_type = HP_SCANJET_IIC; printf("HP ScanJet 4p"); } + if (!bcmp(sa->sa_inqbuf->product, "C5110A", 6)) { + ss->sio.scan_scanner_type = HP_SCANJET_IIC; + printf("HP ScanJet 5p"); + } SC_DEBUG(sc_link, SDEV_DB1, ("scanjet_attach: scanner_type = %d\n", ss->sio.scan_scanner_type)); |