Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-db,v 1.1 2009/01/24 18:57:59 bouyer Exp $
some device have I/O space but no mem space so checking iomem to grant
privileges is not enough.
--- xen/include/asm-x86/iocap.h.orig 2009-01-24 17:22:41.000000000 +0100
+++ xen/include/asm-x86/iocap.h 2009-01-24 17:23:24.000000000 +0100
@@ -15,6 +15,6 @@
rangeset_contains_range((d)->arch.ioport_caps, s, e)
#define cache_flush_permitted(d) \
- (!rangeset_is_empty((d)->iomem_caps))
+ (!rangeset_is_empty((d)->iomem_caps) || !rangeset_is_empty((d)->arch.ioport_caps))
#endif /* __X86_IOCAP_H__ */