]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47xx: Register SSB fallback sprom callback
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 10 May 2011 21:31:32 +0000 (23:31 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 May 2011 08:55:47 +0000 (09:55 +0100)
commitc924ba7544281c86f9ed52d34798c158681dab56
treecc1196f4aafc864effef6050af28b36eb4d413ba
parent9afc6f8ff154fb02e22598ab3b48bbb56095cdea
MIPS: BCM47xx: Register SSB fallback sprom callback

We are generating the prefix based on the PCI bus address the device is
on. This is done like Broadcom does it in their code expect that the the
bus number is increased by one. In the SB bus implementation used by
Broadcom the SB bus emulates a PCI bus so the kernel sees one PCI bus
more then in our implementation. We do not handle prefixes like sb/1/
yet as they are only used on the new bus which is not implemented yet.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2364/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/nvram.c
arch/mips/bcm47xx/setup.c