Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132298032
D16580.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
706 B
Referenced Files
None
Subscribers
None
D16580.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16580: Change default group and mode of /dev/pci to be the same as /dev/mem.
Attached
Detach File
Event Timeline
Log In to Comment