]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r257991, r257992, 257993, 258504
authorandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 22:36:20 +0000 (22:36 +0000)
committerandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 22:36:20 +0000 (22:36 +0000)
commitf75d10422f6dd39297a9c77ad10f699e01487a26
tree451f1ba31330be9c8b1f330dff4460957da82a74
parent654ddf5afd9c98f59b598aef6c1efd6d0d26b1dc
MFC     r257991, r257992, 257993, 258504

r257991:
  Consolidate Apple firmware hacks and improve them by switching on the
  presence of mac-io devices in the tree, which uniquely identifies Apple
  hardware.

r257992:
  Allow OF_decode_addr() to also be able to map resources on big-endian
  devices. To this end, make PCI device detection rely on the device_type
  field rather than name, as per the standard.

r257993:

  Make tsec work with the device tree present on the RB800. The previous code
  assumed that the MDIO bus was a direct child of the Ethernet interface. It
  may not be and indeed on many device trees is not. While here, add proper
  locking for MII transactions, which may be on a bus shared by several MACs.

r258504:

  Save and restore the trap vectors when doing OF calls on pSeries machines.

  It turned out that on pSeries machines the call into OF modified the trap
  vectors and this made further behaviour unpredictable.

  With this commit I'm now able to boot multi user on a network booted
  environment on my IntelliStation 285. This is a POWER5+ machine.

git-svn-id: svn://svn.freebsd.org/base/stable/10@259235 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/files.powerpc
sys/dev/tsec/if_tsec.c
sys/dev/tsec/if_tsec.h
sys/dev/tsec/if_tsec_fdt.c
sys/dev/tsec/if_tsecreg.h
sys/powerpc/aim/machdep.c
sys/powerpc/include/ofw_machdep.h
sys/powerpc/ofw/ofw_machdep.c