Page MenuHomeFreeBSD

D16580.id.diff
No OneTemporary

D16580.id.diff

Index: head/sys/dev/pci/pci_user.c
===================================================================
--- head/sys/dev/pci/pci_user.c
+++ head/sys/dev/pci/pci_user.c
@@ -809,7 +809,6 @@
#endif
case PCIOCGETBAR:
case PCIOCLISTVPD:
- case PCIOCBARMMAP:
break;
default:
return (EPERM);
Index: head/usr.sbin/pciconf/pciconf.c
===================================================================
--- head/usr.sbin/pciconf/pciconf.c
+++ head/usr.sbin/pciconf/pciconf.c
@@ -1085,7 +1085,7 @@
pbm.pbm_flags = 0;
pbm.pbm_memattr = VM_MEMATTR_UNCACHEABLE; /* XXX */
- fd = open(_PATH_DEVPCI, O_RDONLY, 0);
+ fd = open(_PATH_DEVPCI, O_RDWR, 0);
if (fd < 0)
err(1, "%s", _PATH_DEVPCI);

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 16, 3:52 PM (5 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23779936
Default Alt Text
D16580.id.diff (706 B)

Event Timeline