2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RTEMS build issue, rtems_3c509_driver_attach |
From: | Andrew Johnson via Core-talk <core-talk at aps.anl.gov> |
To: | core-talk at aps.anl.gov |
Date: | Wed, 20 Jul 2022 10:48:46 -0500 |
tux% cd /local/anj/RTEMS-5.1/rtems-5.1
tux% ack -C3 rtems_3c509_driver_attach
i386-rtems5/pc686/lib/include/bsp.h
95-#define BSP_DEC21140_NETWORK_DRIVER_NAME "dc1"
96-#define BSP_DEC21140_NETWORK_DRIVER_ATTACH rtems_dec21140_driver_attach
97-
98:extern int rtems_3c509_driver_attach(struct rtems_bsdnet_ifconfig *config);
99-#define BSP_3C509_NETWORK_DRIVER_NAME "3c1"
100:#define BSP_3C509_NETWORK_DRIVER_ATTACH rtems_3c509_driver_attach
101-
102-#ifndef RTEMS_BSP_NETWORK_DRIVER_NAME
103-#define RTEMS_BSP_NETWORK_DRIVER_NAME BSP_DEC21140_NETWORK_DRIVER_NAME
tux% cd /home/phoebus/ANJ/epics/base/7.0
tux% ack -C3 rtems_3c509_driver_attach
modules/libcom/RTEMS/rtems_netconfig.c
71- rtems_fxp_attach, /* attach function */
72- &ne2k_driver_config, /* link to next interface */
73-};
74:// extern int rtems_3c509_driver_attach (struct rtems_bsdnet_ifconfig *, int);
75-static struct rtems_bsdnet_ifconfig e3c509_driver_config = {
76- "ep0", /* name */
77: rtems_3c509_driver_attach, /* attach function */
78- &fxp_driver_config, /* link to next interface */
79-};
80-#define FIRST_DRIVER_CONFIG &e3c509_driver_config
-- Complexity comes for free, Simplicity you have to work for.