freebsd-nq/sys/dev/pci
John Baldwin 6cd99ae86d Add a new PCI bus interface method to alloc the ivars (dinfo) for a device.
The ACPI and OFW PCI bus drivers as well as CardBus override this to
allocate the larger ivars to hold additional info beyond the stock PCI ivars.

This removes the need to pass the size to functions like pci_add_iov_child()
and pci_read_device() simplifying IOV and bus rescanning implementations.

As a result of this and earlier changes, the ACPI PCI bus driver no longer
needs its own device_attach and pci_create_iov_child methods but can use
the methods in the stock PCI bus driver instead.

Differential Revision:	https://reviews.freebsd.org/D5891
2016-04-15 03:42:12 +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 Convert the printfs here from %lx to %jx as well after r297000 in order 2016-03-18 19:36:43 +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 a new PCI bus interface method to alloc the ivars (dinfo) for a device. 2016-04-15 03:42:12 +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 Clean up repeated "All rights reserved" 2016-03-14 17:41:17 +00:00
pci_iov_schema.c Clean up repeated "All rights reserved" 2016-03-14 17:41:17 +00:00
pci_iov.c Add a new PCI bus interface method to alloc the ivars (dinfo) for a device. 2016-04-15 03:42:12 +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 Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
pci_private.h Add a new PCI bus interface method to alloc the ivars (dinfo) for a device. 2016-04-15 03:42:12 +00:00
pci_subr.c Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +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 Add a new PCI bus interface method to alloc the ivars (dinfo) for a device. 2016-04-15 03:42:12 +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
pcireg.h Add support for Enhanced Allocation in pciconf 2016-02-26 08:35:04 +00:00
pcivar.h Add a new PCI bus interface method to alloc the ivars (dinfo) for a device. 2016-04-15 03:42:12 +00:00
schema_private.h Clean up repeated "All rights reserved" 2016-03-14 17:41:17 +00:00
vga_pci.c Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00