Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pcmcia From bjoern johannesson, in netbsd-general......



details:   https://anonhg.NetBSD.org/src/rev/cdf4552b79f6
branches:  trunk
changeset: 355521:cdf4552b79f6
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Aug 01 12:15:21 2017 +0000

description:
>From bjoern johannesson, in netbsd-general... Reset the mask to 0, used to
be 0xa. Is it wrong in the cfe? Should this better be done via a quirk?

diffstat:

 sys/dev/pcmcia/aic_pcmcia.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c7f50949272f -r cdf4552b79f6 sys/dev/pcmcia/aic_pcmcia.c
--- a/sys/dev/pcmcia/aic_pcmcia.c       Tue Aug 01 11:58:45 2017 +0000
+++ b/sys/dev/pcmcia/aic_pcmcia.c       Tue Aug 01 12:15:21 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic_pcmcia.c,v 1.43 2009/11/12 19:24:06 dyoung Exp $   */
+/*     $NetBSD: aic_pcmcia.c,v 1.44 2017/08/01 12:15:21 christos Exp $ */
 
 /*
  * Copyright (c) 1997 Marc Horowitz.  All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic_pcmcia.c,v 1.43 2009/11/12 19:24:06 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic_pcmcia.c,v 1.44 2017/08/01 12:15:21 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -101,6 +101,8 @@
            cfe->num_memspace != 0 ||
            cfe->num_iospace != 1)
                return (EINVAL);
+
+       cfe->iomask = 0;                /* XXX: wrong from cfe?, quirk? */
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index