From abcaf74abf6a160384431c1abf5a76fd7d2adb1f Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 21 Dec 1994 15:12:41 +0000 Subject: stbytes miss by one for new model --- sys/i386/isa/mcd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/i386/isa/mcd.c') diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c index 93552c5..0c1705d 100644 --- a/sys/i386/isa/mcd.c +++ b/sys/i386/isa/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.31 1994/11/14 19:25:43 ache Exp $ + * $Id: mcd.c,v 1.32 1994/11/14 19:32:11 ache Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -679,9 +679,9 @@ mcd_probe(struct isa_device *dev) return 0; stbytes[j] = (inb(port+MCD_DATA) & 0xFF); } - printf("mcd%d: version information is %x %c %x\n", unit, - stbytes[0], stbytes[1], stbytes[2]); - if (stbytes[1] >= 4) { + printf("mcd%d: version information is %c %x\n", unit, + stbytes[1], stbytes[2]); + if (stbytes[2] >= 4) { outb(port+MCD_CTRL, M_PICKLE); mcd_data[unit].flags |= MCDNEWMODEL; printf("mcd%d: Adjusted for newer drive model\n", unit); -- cgit v1.1