Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Register NULL pmf handlers, and note that firmwa...
details: https://anonhg.NetBSD.org/src/rev/88b5c71028db
branches: trunk
changeset: 746939:88b5c71028db
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Aug 24 02:10:41 2009 +0000
description:
Register NULL pmf handlers, and note that firmware & MD code is responsible
for restoring the display device.
diffstat:
sys/dev/pci/genfb_pci.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r b82fe21088db -r 88b5c71028db sys/dev/pci/genfb_pci.c
--- a/sys/dev/pci/genfb_pci.c Sun Aug 23 22:17:18 2009 +0000
+++ b/sys/dev/pci/genfb_pci.c Mon Aug 24 02:10:41 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_pci.c,v 1.20 2009/05/12 08:23:00 cegger Exp $ */
+/* $NetBSD: genfb_pci.c,v 1.21 2009/08/24 02:10:41 jmcneill Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_pci.c,v 1.20 2009/05/12 08:23:00 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_pci.c,v 1.21 2009/08/24 02:10:41 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -128,6 +128,9 @@
sc->sc_pcitag = pa->pa_tag;
sc->sc_want_wsfb = 0;
+ /* firmware / MD code responsible for restoring the display */
+ pmf_device_register(self, NULL, NULL);
+
genfb_init(&sc->sc_gen);
if ((sc->sc_gen.sc_width == 0) || (sc->sc_gen.sc_fbsize == 0)) {
Home |
Main Index |
Thread Index |
Old Index