Module Name:    src
Committed By:   cube
Date:           Wed Nov 25 13:15:17 UTC 2009

Modified Files:
        src/sys/arch/i386/pnpbios: fdc_pnpbios.c

Log Message:
Properly fix f...@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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/i386/pnpbios/fdc_pnpbios.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/pnpbios/fdc_pnpbios.c
diff -u src/sys/arch/i386/pnpbios/fdc_pnpbios.c:1.14 src/sys/arch/i386/pnpbios/fdc_pnpbios.c:1.15
--- src/sys/arch/i386/pnpbios/fdc_pnpbios.c:1.14	Mon Apr 28 20:23:25 2008
+++ src/sys/arch/i386/pnpbios/fdc_pnpbios.c	Wed Nov 25 13:15:17 2009
@@ -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,

Reply via email to