freebsd-dev/sys/dev/pci
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
..
eisa_pci.c Revert previous change. The magical constants can't be changed 2015-06-06 17:04:36 +00:00
fixup_pci.c
hostb_pci.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
ignore_pci.c Revert previous change. The magical constants can't be changed 2015-06-06 17:04:36 +00:00
isa_pci.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pci_host_generic.c Add gem5 support, so we attach there as well. 2016-03-02 15:26:55 +00:00
pci_host_generic.h Restore ThunderX Pass1.1 PCI changes removed by r295962 2016-02-26 12:16:11 +00:00
pci_if.m Add accessor methods to fetch the BAR holding the MSI-X table and PBA. 2015-12-23 21:51:10 +00:00
pci_iov_if.m Create a separate kobj interface for leaf-driver PCI IOV methods. 2015-05-28 22:01:50 +00:00
pci_iov_private.h Add infrastructure for exporting config schema from PF drivers 2015-03-01 00:40:42 +00:00
pci_iov_schema.c Validate the schema that the PF driver passed to us 2015-03-01 00:59:28 +00:00
pci_iov.c Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00
pci_iov.h Create a separate kobj interface for leaf-driver PCI IOV methods. 2015-05-28 22:01:50 +00:00
pci_pci.c Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00
pci_private.h Support for Enhanced Allocation in PCI 2016-03-02 09:54:58 +00:00
pci_subr.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pci_user.c Fix syntax error introduced in previous commit where I removed one 2016-02-19 16:53:21 +00:00
pci.c Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00
pcib_if.m drop a bunch of white space at end of lines and end of files... 2015-10-18 08:13:51 +00:00
pcib_private.h Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pcib_support.c Add some pcib methods to get ARI-related information 2015-03-01 00:39:40 +00:00
pcireg.h Add support for Enhanced Allocation in pciconf 2016-02-26 08:35:04 +00:00
pcivar.h Support for Enhanced Allocation in PCI 2016-03-02 09:54:58 +00:00
schema_private.h Validate the schema that the PF driver passed to us 2015-03-01 00:59:28 +00:00
vga_pci.c Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00