diff options
author | John Baldwin <jhb@FreeBSD.org> | 2024-03-13 22:05:54 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2024-03-13 22:05:54 +0000 |
commit | fef01f0498aa7b256bc37bbf28ee0e8ac9b2536f (patch) | |
tree | 1d4ce11d8cce6610cf2645dbe73c13cbded53648 /sys/x86/include | |
parent | 582b84cd252d56f06556134b1103da3a0425fdbd (diff) | |
download | src-fef01f0498aa7b256bc37bbf28ee0e8ac9b2536f.tar.gz src-fef01f0498aa7b256bc37bbf28ee0e8ac9b2536f.zip |
new-bus: Remove the 'type' argument from BUS_ADJUST_RESOURCE
The public bus_adjust_resource() API still accepts both forms, but the
internal kobj method no longer passes the argument. Implementations
which need the type now use rman_get_type() to fetch the value from
the allocated resource.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D44128
Diffstat (limited to 'sys/x86/include')
-rw-r--r-- | sys/x86/include/legacyvar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/include/legacyvar.h b/sys/x86/include/legacyvar.h index 5627e9b90306..789c6c55f198 100644 --- a/sys/x86/include/legacyvar.h +++ b/sys/x86/include/legacyvar.h @@ -58,7 +58,7 @@ int legacy_pcib_write_ivar(device_t dev, device_t child, int which, struct resource *legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); -int legacy_pcib_adjust_resource(device_t dev, device_t child, int type, +int legacy_pcib_adjust_resource(device_t dev, device_t child, struct resource *r, rman_res_t start, rman_res_t end); int legacy_pcib_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r); |