Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/drm Make drm2 module depend o...
details: https://anonhg.NetBSD.org/src/rev/747b6776285a
branches: riastradh-drm2
changeset: 788320:747b6776285a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:14:31 2013 +0000
description:
Make drm2 module depend on iic, and comment on wrong dependencies.
diffstat:
sys/external/bsd/drm2/drm/drm_module.c | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r d5a7e896f63d -r 747b6776285a sys/external/bsd/drm2/drm/drm_module.c
--- a/sys/external/bsd/drm2/drm/drm_module.c Wed Jul 24 03:14:15 2013 +0000
+++ b/sys/external/bsd/drm2/drm/drm_module.c Wed Jul 24 03:14:31 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_module.c,v 1.1.2.2 2013/07/24 02:44:33 riastradh Exp $ */
+/* $NetBSD: drm_module.c,v 1.1.2.3 2013/07/24 03:14:31 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,14 +30,22 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_module.c,v 1.1.2.2 2013/07/24 02:44:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_module.c,v 1.1.2.3 2013/07/24 03:14:31 riastradh Exp $");
#include <sys/types.h>
#include <sys/device.h>
#include <sys/module.h>
#include <sys/systm.h>
-MODULE(MODULE_CLASS_MISC, drm, "pci");
+/*
+ * XXX I2C stuff should be moved to a separate drm2edid module.
+ *
+ * XXX PCI stuff should be moved to a separate drm2pci module.
+ *
+ * XXX Other Linux stuff should be moved to a linux compatibility
+ * module on which this one depends.
+ */
+MODULE(MODULE_CLASS_MISC, drm, "iic,pci");
#ifdef _MODULE
#include "ioconf.c"
Home |
Main Index |
Thread Index |
Old Index