Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci get rid of RADEONFB_MMAP_BARS which hasn't been ...
details: https://anonhg.NetBSD.org/src/rev/bb86f3664cee
branches: trunk
changeset: 333162:bb86f3664cee
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Oct 21 08:46:44 2014 +0000
description:
get rid of RADEONFB_MMAP_BARS which hasn't been useful for years
diffstat:
sys/dev/pci/radeonfb.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r a6334129355c -r bb86f3664cee sys/dev/pci/radeonfb.c
--- a/sys/dev/pci/radeonfb.c Tue Oct 21 00:01:01 2014 +0000
+++ b/sys/dev/pci/radeonfb.c Tue Oct 21 08:46:44 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeonfb.c,v 1.85 2014/10/16 12:31:23 riastradh Exp $ */
+/* $NetBSD: radeonfb.c,v 1.86 2014/10/21 08:46:44 macallan Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.85 2014/10/16 12:31:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.86 2014/10/21 08:46:44 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1263,7 +1263,6 @@
return pa;
}
-#ifdef RADEONFB_MMAP_BARS
/*
* restrict all other mappings to processes with superuser privileges
* or the kernel itself
@@ -1302,8 +1301,6 @@
}
#endif /* PCI_MAGIC_IO_RANGE */
-#endif /* RADEONFB_MMAP_BARS */
-
return -1;
}
Home |
Main Index |
Thread Index |
Old Index