Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/pnpbios Properly fix fdc@pnpbios as shown by B...



details:   https://anonhg.NetBSD.org/src/rev/d42de385d7c4
branches:  trunk
changeset: 749285:d42de385d7c4
user:      cube <cube%NetBSD.org@localhost>
date:      Wed Nov 25 13:15:17 2009 +0000

description:
Properly fix fdc@pnpbios as shown by Brian Buhrow in PR#42374.

I think it tells a lot about the relevancy of that attachment when it took
20 months for someone to experience the issue and even then, acpi had to be
disabled.

diffstat:

 sys/arch/i386/pnpbios/fdc_pnpbios.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b48e3138f4ab -r d42de385d7c4 sys/arch/i386/pnpbios/fdc_pnpbios.c
--- a/sys/arch/i386/pnpbios/fdc_pnpbios.c       Wed Nov 25 11:49:36 2009 +0000
+++ b/sys/arch/i386/pnpbios/fdc_pnpbios.c       Wed Nov 25 13:15:17 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdc_pnpbios.c,v 1.14 2008/04/28 20:23:25 martin Exp $  */
+/*     $NetBSD: fdc_pnpbios.c,v 1.15 2009/11/25 13:15:17 cube Exp $    */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdc_pnpbios.c,v 1.14 2008/04/28 20:23:25 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdc_pnpbios.c,v 1.15 2009/11/25 13:15:17 cube Exp $");
 
 #include "rnd.h"
 
@@ -92,6 +92,7 @@
         
        aprint_normal("\n");
 
+       fdc->sc_dev = self;
        fdc->sc_ic = aa->ic;
 
        if (pnpbios_io_map(aa->pbt, aa->resc, 0, &fdc->sc_iot,



Home | Main Index | Thread Index | Old Index