simplebus: Stop accepting SYS_RES_IOPORT resources
Child devices handling I/O port resources (such as PCI-e bridges) should map those to a memory resource and pass up a request for the translated memory resource. Differential Revision: https://reviews.freebsd.org/D48501
This commit is contained in:
@@ -461,9 +461,6 @@ simplebus_alloc_resource(device_t bus, device_t child, int type, int *rid,
|
||||
count = rle->count;
|
||||
}
|
||||
|
||||
if (type == SYS_RES_IOPORT)
|
||||
type = SYS_RES_MEMORY;
|
||||
|
||||
if (type == SYS_RES_MEMORY) {
|
||||
/* Remap through ranges property */
|
||||
for (j = 0; j < sc->nranges; j++) {
|
||||
|
||||
Reference in New Issue
Block a user