freebsd-dev/sys/mips
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
..
adm5120 As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
alchemy Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
atheros Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
beri Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
cavium Don't assume that bio_cmd is a bitfield. 2016-03-10 06:25:47 +00:00
conf Migrate UNCOMPRESS -> UZIP 2016-02-24 03:06:26 +00:00
gxemul Add 32-bit support for Gxemul's oldtestmips machine emulation 2013-09-04 20:34:36 +00:00
idt As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
include Define PCI_RES_BUS for MIPS. 2016-04-12 07:18:48 +00:00
malta As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
mediatek Move Mediatek/Ralink PCIe to NEW_PCIB 2016-04-12 07:21:22 +00:00
mips Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
nlm Add a new PCI bus interface method to alloc the ivars (dinfo) for a device. 2016-04-15 03:42:12 +00:00
rmi Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
rt305x Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
sentry5 Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
sibyte As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00