Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic more-fully initialize mpt_disc_enable



details:   https://anonhg.NetBSD.org/src/rev/f04985f11113
branches:  trunk
changeset: 829427:f04985f11113
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Jan 30 20:15:41 2018 +0000

description:
more-fully initialize mpt_disc_enable

diffstat:

 sys/dev/ic/mpt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 927091bd5fbe -r f04985f11113 sys/dev/ic/mpt.c
--- a/sys/dev/ic/mpt.c  Tue Jan 30 19:22:28 2018 +0000
+++ b/sys/dev/ic/mpt.c  Tue Jan 30 20:15:41 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mpt.c,v 1.17 2014/09/27 16:14:16 jmcneill Exp $        */
+/*     $NetBSD: mpt.c,v 1.18 2018/01/30 20:15:41 jakllsch Exp $        */
 
 /*
  * Copyright (c) 2000, 2001 by Greg Ansley
@@ -110,7 +110,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpt.c,v 1.17 2014/09/27 16:14:16 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpt.c,v 1.18 2018/01/30 20:15:41 jakllsch Exp $");
 
 #include <dev/ic/mpt.h>
 
@@ -940,7 +940,7 @@
 {
        int i, pp1val = ((1 << mpt->mpt_ini_id) << 16) | mpt->mpt_ini_id;
 
-       mpt->mpt_disc_enable = 0xff;
+       mpt->mpt_disc_enable = 0xffff;
        mpt->mpt_tag_enable = 0;
 
        if (mpt->mpt_port_page1.Configuration != pp1val) {



Home | Main Index | Thread Index | Old Index