mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 13:33:19 +08:00
bsp/motorola_powerpc: Add dc, ukphy and legacy PCI support
- Add the dc net dev to the BSP - Add the ukphy support - Add PCI Legacy bus support to the PowerPC Closes #4514
This commit is contained in:
@@ -197,6 +197,12 @@ 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;
|
||||
RTEMS_BSD_DRIVER_PCI_DC;
|
||||
RTEMS_BSD_DRIVER_UKPHY;
|
||||
|
||||
#endif /* LIBBSP_POWERPC_MOTOROLA_POWERPC_BSP_H */
|
||||
|
||||
#endif
|
||||
|
@@ -77,6 +77,7 @@
|
||||
* RTEMS_BSD_DRIVER_ICSPHY
|
||||
* RTEMS_BSD_DRIVER_REPHY
|
||||
* RTEMS_BSD_DRIVER_PHY_MIC
|
||||
* RTEMS_BSD_DRIVER_UKPHY
|
||||
*/
|
||||
|
||||
#if !defined(RTEMS_BSD_NEXUS_BUS_h)
|
||||
@@ -441,6 +442,14 @@ extern "C" {
|
||||
SYSINIT_DRIVER_REFERENCE(re, pci);
|
||||
#endif /* RTEMS_BSD_DRIVER_PCI_RE */
|
||||
|
||||
/*
|
||||
* DEC Tulip Driver
|
||||
*/
|
||||
#if !defined(RTEMS_BSD_DRIVER_PCI_DC)
|
||||
#define RTEMS_BSD_DRIVER_PCI_DC \
|
||||
SYSINIT_DRIVER_REFERENCE(dc, pci);
|
||||
#endif /* RTEMS_BSD_DRIVER_PCI_DC */
|
||||
|
||||
/**
|
||||
** MMI Physical Layer Support.
|
||||
**/
|
||||
@@ -477,6 +486,14 @@ extern "C" {
|
||||
SYSINIT_DRIVER_REFERENCE(micphy, miibus);
|
||||
#endif /* RTEMS_BSD_DRIVER_PHY_MIC */
|
||||
|
||||
/*
|
||||
* UK PHY (for unknown PHY devices)
|
||||
*/
|
||||
#if !defined(RTEMS_BSD_DRIVER_UKPHY)
|
||||
#define RTEMS_BSD_DRIVER_UKPHY \
|
||||
SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
|
||||
#endif /* RTEMS_BSD_DRIVER_UKPHY */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
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>
|
Reference in New Issue
Block a user