freebsd-dev/sys/isa
Justin Hibbits 534ccd7bbf Replace all resource occurrences of '0UL/~0UL' with '0/~0'.
Summary:
The idea behind this is '~0ul' is well-defined, and casting to uintmax_t, on a
32-bit platform, will leave the upper 32 bits as 0.  The maximum range of a
resource is 0xFFF.... (all bits of the full type set).  By dropping the 'ul'
suffix, C type promotion rules apply, and the sign extension of ~0 on 32 bit
platforms gets it to a type-independent 'unsigned max'.

Reviewed By: cem
Sponsored by:	Alex Perez/Inertial Computing
Differential Revision: https://reviews.freebsd.org/D5255
2016-03-03 05:07:35 +00:00
..
isa_common.c Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00
isa_common.h Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
isa_dmareg.h
isa_if.m
isahint.c
isareg.h
isavar.h
pnp.c
pnpparse.c
pnpreg.h
pnpvar.h
rtc.h
syscons_isa.c
vga_isa.c Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any() 2016-02-19 03:37:56 +00:00