freebsd-nq/sys/sparc64
Zbigniew Bodek b998c9656b Introduce bus_get_bus_tag() method
Provide bus_get_bus_tag() for sparc64, powerpc, arm, arm64 and mips
nexus and its children in order to return a platform specific default tag.

This is required to ensure generic correctness of the bus_space tag.
It is especially needed for arches where child bus tag does not match
the parent bus tag. This solves the problem with ppc architecture
where the PCI bus tag differs from parent bus tag which is big-endian.

This commit is a part of the following patch:
https://reviews.freebsd.org/D4879

Submitted by:  Marcin Mazurek <mma@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Annapurna Labs
Reviewed by:   jhibbits, mmel
Differential Revision: https://reviews.freebsd.org/D4879
2016-02-18 13:00:04 +00:00
..
central Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
conf Fix whitespace on addition of IPSEC option 2015-11-26 21:35:50 +00:00
ebus Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
fhc Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
include POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
isa Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
pci Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
sbus Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
sparc64 Introduce bus_get_bus_tag() method 2016-02-18 13:00:04 +00:00