在vxworks5.5中,添加了驱动文件,生成bootrom后可以看到网卡。
在vxworks6.6中,rtl8139已经成为默认支持的网卡。在bsp配置的config.h中可以看到,修改如下
config.h部分配置:
#undef INCLUDE_AM79C97X_VXB_END
#undef INCLUDE_AN983_VXB_END
#undef INCLUDE_FEI8255X_VXB_END
#undef INCLUDE_GEI825XX_VXB_END
#undef INCLUDE_MVYUKONII_VXB_END
#undef INCLUDE_MVYUKON_VXB_END
#undef INCLUDE_NS8381X_VXB_END
#define INCLUDE_RTL8139_VXB_END
#undef INCLUDE_RTL8169_VXB_END
#undef INCLUDE_TC3C905_VXB_END
#undef INCLUDE_NE2000_VXB_END
/* PHY and MII bus support */
#define INCLUDE_MII_BUS
#define INCLUDE_GENERICPHY
#undef INCLUDE_DM9191PHY
#undef INCLUDE_LXT972PHY
#undef INCLUDE_MV88E1X11PHY
#define INCLUDE_RTL8201PHY
#define INCLUDE_RTL8169PHY
#undef INCLUDE_VSC82XXPHY
但引导起来后,看不到网卡。
------解决方案--------------------
驱动添加到vxWorks里面了吗