mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 17:46:35 +08:00
bsp/motorola_powerpc: Add dc and ukphy support
- Add the dc net dev to the BSP - Add the ukphy support Closes # 4246
This commit is contained in:
@@ -217,6 +217,8 @@ RTEMS_BSD_DRIVER_PCI_IGB;
|
||||
RTEMS_BSD_DRIVER_PCI_EM;
|
||||
RTEMS_BSD_DRIVER_PCI_RE;
|
||||
RTEMS_BSD_DRIVER_REPHY;
|
||||
RTEMS_BSD_DRIVER_PCI_DC;
|
||||
RTEMS_BSD_DRIVER_DCPHY;
|
||||
|
||||
#elif defined(LIBBSP_POWERPC_QORIQ_BSP_H)
|
||||
|
||||
@@ -258,6 +260,8 @@ SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
|
||||
#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 */
|
||||
|
||||
|
@@ -559,10 +559,26 @@ 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.
|
||||
**/
|
||||
|
||||
/*
|
||||
* 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 */
|
||||
|
||||
/*
|
||||
* E1000 PHY
|
||||
*/
|
||||
@@ -603,6 +619,22 @@ extern "C" {
|
||||
SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
|
||||
#endif /* RTEMS_BSD_DRIVER_UKPHY */
|
||||
|
||||
/*
|
||||
* DC PHY.
|
||||
*/
|
||||
#if !defined(RTEMS_BSD_DRIVER_DCPHY)
|
||||
#define RTEMS_BSD_DRIVER_DCPHY \
|
||||
SYSINIT_DRIVER_REFERENCE(dcphy, miibus);
|
||||
#endif /* RTEMS_BSD_DRIVER_DCPHY */
|
||||
|
||||
/*
|
||||
* PN PHY.
|
||||
*/
|
||||
#if !defined(RTEMS_BSD_DRIVER_PNPHY)
|
||||
#define RTEMS_BSD_DRIVER_PNPHY \
|
||||
SYSINIT_DRIVER_REFERENCE(pnphy, miibus);
|
||||
#endif /* RTEMS_BSD_DRIVER_PNPHY */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
Reference in New Issue
Block a user