]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a default do-nothing implementation of fdt_pci_devmap() using a weak alias,
authorIan Lepore <ian@FreeBSD.org>
Sun, 27 Jan 2013 00:39:02 +0000 (00:39 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sun, 27 Jan 2013 00:39:02 +0000 (00:39 +0000)
commit427dadb03cc34d475685953b4dcf97e0823fbba4
tree02b58046be8003c189904e5ed6e030896e79a3aa
parentaf66b223de461368300798d9d84a392a470e5e0e
Add a default do-nothing implementation of fdt_pci_devmap() using a weak alias,
so that we don't need an empty implementation of it for every Marvell platform
that has no PCI.  This allows the removal of the SheevaPlug-specific stub and
config files, and eliminates the need to add similar stubs for future models.

Marvell platforms that do expose PCI are compiled with 'device pci' which
causes the real (non-weak) implementation in dev/fdt/fdt_pci.c to be used.

Approved by: cognet (mentor)
sys/arm/conf/SHEEVAPLUG
sys/arm/mv/kirkwood/files.sheevaplug [deleted file]
sys/arm/mv/kirkwood/sheevaplug.c [deleted file]
sys/arm/mv/kirkwood/std.sheevaplug [deleted file]
sys/arm/mv/mv_machdep.c