Recognize the HP ScanJet 4p, per PR #2663 (Kenneth Stailey).

This commit is contained in:
thorpej 1996-12-03 01:25:53 +00:00
parent 38cbb3213c
commit 3ae1a191dc
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ss_scanjet.c,v 1.8 1996/10/12 23:23:22 christos Exp $ */
/* $NetBSD: ss_scanjet.c,v 1.9 1996/12/03 01:25:53 thorpej Exp $ */
/*
* Copyright (c) 1995 Kenneth Stailey. All rights reserved.
@ -111,6 +111,10 @@ scanjet_attach(ss, sa)
ss->sio.scan_scanner_type = HP_SCANJET_IIC;
printf("HP ScanJet IIcx");
}
if (!bcmp(sa->sa_inqbuf->product, "C1130A", 6)) {
ss->sio.scan_scanner_type = HP_SCANJET_IIC;
printf("HP ScanJet 4p");
}
SC_DEBUG(sc_link, SDEV_DB1, ("scanjet_attach: scanner_type = %d\n",
ss->sio.scan_scanner_type));

View File

@ -1,4 +1,4 @@
/* $NetBSD: ss_scanjet.c,v 1.8 1996/10/12 23:23:22 christos Exp $ */
/* $NetBSD: ss_scanjet.c,v 1.9 1996/12/03 01:25:53 thorpej Exp $ */
/*
* Copyright (c) 1995 Kenneth Stailey. All rights reserved.
@ -111,6 +111,10 @@ scanjet_attach(ss, sa)
ss->sio.scan_scanner_type = HP_SCANJET_IIC;
printf("HP ScanJet IIcx");
}
if (!bcmp(sa->sa_inqbuf->product, "C1130A", 6)) {
ss->sio.scan_scanner_type = HP_SCANJET_IIC;
printf("HP ScanJet 4p");
}
SC_DEBUG(sc_link, SDEV_DB1, ("scanjet_attach: scanner_type = %d\n",
ss->sio.scan_scanner_type));