Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108226362
D48581.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48581.diff
View Options
diff --git a/sys/arm64/arm64/nexus.c b/sys/arm64/arm64/nexus.c
--- a/sys/arm64/arm64/nexus.c
+++ b/sys/arm64/arm64/nexus.c
@@ -221,7 +221,6 @@
case SYS_RES_IRQ:
return (&irq_rman);
case SYS_RES_MEMORY:
- case SYS_RES_IOPORT:
return (&mem_rman);
default:
return (NULL);
@@ -334,7 +333,6 @@
* If this is a memory resource, map it into the kernel.
*/
switch (rman_get_type(r)) {
- case SYS_RES_IOPORT:
case SYS_RES_MEMORY:
if ((err = rman_activate_resource(r)) != 0)
return (err);
@@ -390,9 +388,8 @@
if ((rman_get_flags(r) & RF_ACTIVE) == 0)
return (ENXIO);
- /* Mappings are only supported on I/O and memory resources. */
+ /* Mappings are only supported on memory resources. */
switch (rman_get_type(r)) {
- case SYS_RES_IOPORT:
case SYS_RES_MEMORY:
break;
default:
@@ -422,7 +419,6 @@
switch (rman_get_type(r)) {
case SYS_RES_MEMORY:
- case SYS_RES_IOPORT:
pmap_unmapdev(map->r_vaddr, map->r_size);
return (0);
default:
@@ -480,7 +476,6 @@
flags = 0;
switch (rman_get_type(r)) {
case SYS_RES_MEMORY:
- case SYS_RES_IOPORT:
/*
* If the fdt parent has the nonposted-mmio property we
* need to use non-posted IO to access the device. When
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 8:49 PM (20 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16031786
Default Alt Text
D48581.diff (1 KB)
Attached To
Mode
D48581: arm64 nexus: Remove support for I/O port resources
Attached
Detach File
Event Timeline
Log In to Comment