freebsd-dev/sys/sparc64
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
..
central Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
conf Fix whitespace on addition of IPSEC option 2015-11-26 21:35:50 +00:00
ebus Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
fhc Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
include Since r296250 it is no longer possible for devices to use bus space 2016-04-10 22:43:36 +00:00
isa Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
pci Add a new PCI bus interface method to alloc the ivars (dinfo) for a device. 2016-04-15 03:42:12 +00:00
sbus Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
sparc64 Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00