mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-27 23:12:40 +08:00
powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP family
This commit is contained in:
parent
d164b840c3
commit
bff15c3326
@ -2929,7 +2929,7 @@ class pci(builder.Module):
|
||||
]
|
||||
)
|
||||
self.addCPUDependentFreeBSDSourceFiles(
|
||||
[ 'i386' ],
|
||||
[ 'i386', 'powerpc' ],
|
||||
[
|
||||
'sys/x86/x86/legacy.c',
|
||||
'sys/x86/pci/pci_bus.c',
|
||||
|
@ -205,6 +205,10 @@ SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
|
||||
RTEMS_BSD_DEFINE_NEXUS_DEVICE(fec, 0, 0, NULL);
|
||||
SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
|
||||
|
||||
#endif
|
||||
#elif defined(LIBBSP_POWERPC_MOTOROLA_POWERPC_BSP_H)
|
||||
|
||||
RTEMS_BSD_DRIVER_PC_LEGACY;
|
||||
|
||||
#endif /* LIBBSP_POWERPC_MOTOROLA_POWERPC_BSP_H */
|
||||
|
||||
#endif
|
||||
|
2
rtemsbsd/powerpc/include/machine/legacyvar.h
Normal file
2
rtemsbsd/powerpc/include/machine/legacyvar.h
Normal file
@ -0,0 +1,2 @@
|
||||
/* See freebsd/sys/x86/include/machine/legacyvar.h */
|
||||
#include <x86/include/machine/legacyvar.h>
|
2
rtemsbsd/powerpc/include/machine/pci_cfgreg.h
Normal file
2
rtemsbsd/powerpc/include/machine/pci_cfgreg.h
Normal file
@ -0,0 +1,2 @@
|
||||
/* See freebsd/sys/x86/include/machine/pci_cfgreg.h */
|
||||
#include <x86/include/machine/pci_cfgreg.h>
|
Loading…
x
Reference in New Issue
Block a user