]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Switch mips/sentry5 to bhnd(4), and unify with mips/broadcom
authorlandonf <landonf@FreeBSD.org>
Sat, 4 Jun 2016 19:53:47 +0000 (19:53 +0000)
committerlandonf <landonf@FreeBSD.org>
Sat, 4 Jun 2016 19:53:47 +0000 (19:53 +0000)
commit8c895dab58ab61d3ed5ab876c7254df5894523fe
tree08670f9a2c8dd4df3d9e968e9fc9f1cf06716c60
parent6ca5cb08dc00b533e51ef4dc6cd48b2c5ecab751
Switch mips/sentry5 to bhnd(4), and unify with mips/broadcom

Now that bhnd(4) provides feature parity with the previous siba/mips
implementation, we can switch sentry5 over and begin lifting common
support code out for use across bhnd(4) embedded targets.

Changes:

- Fixed enumeration of siba(4) per-core address maps, required for
  discovery of memory mapped chipc flash region on siba(4) devices.
- Simplified bhnd kernel configuration (dropped 'bhndbus' option).
- Replaced files.broadcom's direct file references with their
  corresponding standard kernel options.
- Lifted out common bcma/siba nexus support, inheriting from the new
  generic bhnd_nexus driver.
- Dropped now-unused sentry5 siba code.
- Re-integrated BCM into the universe build now that it actually compiles.

Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D6712
18 files changed:
sys/conf/files
sys/dev/bhnd/bcma/bcma.c
sys/dev/bhnd/bcma/bcma_nexus.c
sys/dev/bhnd/bhnd_nexus.c [new file with mode: 0644]
sys/dev/bhnd/bhnd_nexusvar.h [moved from sys/dev/bhnd/soc/bhnd_soc.h with 76% similarity]
sys/dev/bhnd/siba/siba.c
sys/dev/bhnd/siba/siba_nexus.c
sys/dev/bhnd/siba/siba_subr.c
sys/dev/bhnd/soc/bhnd_soc.c [deleted file]
sys/dev/siba/siba_cc.c [deleted file]
sys/dev/siba/siba_mips.c [deleted file]
sys/dev/siba/siba_pcib.c [deleted file]
sys/dev/siba/siba_pcibvar.h [deleted file]
sys/mips/broadcom/files.broadcom
sys/mips/conf/BCM
sys/mips/conf/BCM.hints
sys/mips/conf/SENTRY5
sys/mips/conf/SENTRY5.hints