mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
Bump up the limit for when to print the resources for a given resource
manager in hex vs decimal to 1000 from 100 so that IRQs are printed in decimal. MFC after: 3 days
This commit is contained in:
parent
89ca9145fb
commit
d9cec0a09e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173057
@ -65,7 +65,7 @@ print_resource(struct devinfo_res *res)
|
||||
int hexmode;
|
||||
|
||||
rman = devinfo_handle_to_rman(res->dr_rman);
|
||||
hexmode = (rman->dm_size > 100) || (rman->dm_size == 0);
|
||||
hexmode = (rman->dm_size > 1000) || (rman->dm_size == 0);
|
||||
printf(hexmode ? "0x%lx" : "%lu", res->dr_start);
|
||||
if (res->dr_size > 1)
|
||||
printf(hexmode ? "-0x%lx" : "-%lu",
|
||||
|
Loading…
Reference in New Issue
Block a user