Changeset 710d2a1 in rtems-libbsd


Ignore:
Timestamp:
Mar 27, 2015, 10:13:25 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
2121b4f
Parents:
4ccf797
git-author:
Sebastian Huber <sebastian.huber@…> (03/27/15 10:13:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/01/15 07:15:29)
Message:

mii: Add phy devices

Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r4ccf797 r710d2a1  
    415415LIB_C_FILES += freebsd/sys/dev/mii/e1000phy.c
    416416LIB_C_FILES += freebsd/sys/dev/mii/brgphy.c
     417LIB_C_FILES += freebsd/sys/dev/mii/micphy.c
     418LIB_C_FILES += freebsd/sys/dev/mii/ukphy.c
     419LIB_C_FILES += freebsd/sys/dev/mii/ukphy_subr.c
    417420LIB_C_FILES += freebsd/sys/dev/tsec/if_tsec.c
    418421LIB_C_FILES += freebsd/sys/dev/cadence/if_cgem.c
  • freebsd-to-rtems.py

    r4ccf797 r710d2a1  
    13021302                'sys/dev/mii/e1000phy.c',
    13031303                'sys/dev/mii/brgphy.c',
     1304                'sys/dev/mii/micphy.c',
     1305                'sys/dev/mii/ukphy.c',
     1306                'sys/dev/mii/ukphy_subr.c',
    13041307                'sys/dev/tsec/if_tsec.c',
    13051308                'sys/dev/cadence/if_cgem.c',
  • rtemsbsd/include/rtems/bsd/local/miidevs.h

    r4ccf797 r710d2a1  
    6161#define MII_OUI_BROADCOM3       0x001be9        /* Broadcom Corporation */
    6262#define MII_OUI_BROADCOM4       0x18c086        /* Broadcom Corporation */
    63 #define MII_OUI_CICADA  0x0003F1        /* Cicada Semiconductor */
     63#define MII_OUI_CICADA  0x0003f1        /* Cicada Semiconductor */
    6464#define MII_OUI_DAVICOM 0x00606e        /* Davicom Semiconductor */
    6565#define MII_OUI_ENABLESEMI      0x0010dd        /* Enable Semiconductor */
     
    7070#define MII_OUI_LEVEL1  0x00207b        /* Level 1 */
    7171#define MII_OUI_MARVELL 0x005043        /* Marvell Semiconductor */
     72#define MII_OUI_MICREL  0x0010a1        /* Micrel */
    7273#define MII_OUI_MYSON   0x00c0b4        /* Myson Technology */
    7374#define MII_OUI_NATSEMI 0x080017        /* National Semiconductor */
     
    7879#define MII_OUI_SEEQ    0x00a07d        /* Seeq Technology */
    7980#define MII_OUI_SIS     0x00e006        /* Silicon Integrated Systems */
     81#define MII_OUI_SMC     0x00800f        /* SMC */
    8082#define MII_OUI_TI      0x080028        /* Texas Instruments */
    8183#define MII_OUI_TSC     0x00c039        /* TDK Semiconductor */
     84#define MII_OUI_VITESSE 0x0001c1        /* Vitesse Semiconductor */
    8285#define MII_OUI_XAQTI   0x00e0ae        /* XaQti Corp. */
    8386
     
    155158#define MII_MODEL_xxATHEROS_F2  0x0002
    156159#define MII_STR_xxATHEROS_F2    "Atheros F2 10/100 PHY"
     160#define MII_MODEL_xxATHEROS_AR8021      0x0004
     161#define MII_STR_xxATHEROS_AR8021        "Atheros AR8021 10/100/1000 PHY"
    157162#define MII_MODEL_xxATHEROS_F1_7        0x0007
    158163#define MII_STR_xxATHEROS_F1_7  "Atheros F1 10/100/1000 PHY"
     
    265270#define MII_MODEL_xxCICADA_VSC8211      0x000b
    266271#define MII_STR_xxCICADA_VSC8211        "Cicada VSC8211 10/100/1000TX PHY"
     272#define MII_MODEL_xxCICADA_VSC8221      0x0015
     273#define MII_STR_xxCICADA_VSC8221        "Cicada CS8201 10/100/1000TX PHY"
    267274#define MII_MODEL_xxCICADA_CS8201A      0x0020
    268275#define MII_STR_xxCICADA_CS8201A        "Cicada CS8201 10/100/1000TX PHY"
     
    402409#define MII_STR_MARVELL_E1111   "Marvell 88E1111 Gigabit PHY"
    403410
     411/* Micrel PHYs */
     412#define MII_MODEL_MICREL_KSZ9021        0x0021
     413#define MII_STR_MICREL_KSZ9021  "Micrel KSZ9021 10/100/1000 PHY"
     414
    404415/* Myson Technology PHYs */
    405416#define MII_MODEL_xxMYSON_MTD972        0x0000
     
    484495#define MII_STR_xxTSC_78Q2121   "78Q2121 100BASE-TX media interface"
    485496
     497/* Vitesse Semiconductor */
     498#define MII_MODEL_xxVITESSE_VSC8641     0x0003
     499#define MII_STR_xxVITESSE_VSC8641       "Vitesse VSC8641 10/100/1000TX PHY"
     500
    486501/* XaQti Corp. PHYs */
    487502#define MII_MODEL_xxXAQTI_XMACII        0x0000
    488503#define MII_STR_xxXAQTI_XMACII  "XaQti Corp. XMAC II gigabit interface"
     504
     505/* SMC */
     506#define MII_MODEL_SMC_LAN8710A  0x000F
     507#define MII_STR_SMC_LAN8710A    "SMC LAN8710A 10/100 interface"
Note: See TracChangeset for help on using the changeset viewer.