summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/dec21140.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-04bsps: Move libchip to bspsSebastian Huber1-1112/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-01-31bsps: Move network define to source filesSebastian Huber1-0/+2
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
2017-04-20dec21140.c: Add prototype of dec21140_txDaemon()Joel Sherrill1-0/+2
2017-04-20dec21140.c: Fix printk() warningsJoel Sherrill1-3/+3
2017-04-20dec21140.c: Include <libcpu/page.h> to eliminate warningsJoel Sherrill1-0/+1
2017-04-20dec21140.c: Fix PRIxx formatterJoel Sherrill1-1/+1
2017-04-14libchip/network/dec21140.c: Use inttypes.h to fix 1 warning.Cillian O'Donnell1-1/+3
2016-09-20classic networking: do not reference BSP_irq_enabled_at_i8259s which is no ↵Pavel Pisa1-6/+1
more available on i386. This change is required to build RTEMS with classic "--enable-networking" and link applications/tests which reference RTEMS_BSP_NETWORK_DRIVER_ATTACH.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2012-11-02libnetworking: Use system eventsSebastian Huber1-2/+2
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
2012-05-16pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill1-1/+0
+ libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included <rtems/pci.h>. + sparc/*/pci*.c - Move to <rtems/pci.h> required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2011-10-222011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+0
* libchip/network/dec21140.c (dec21140_rxDaemon): Remove unused var "tbase".
2011-01-282011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-1/+1
* src/libchip/network/dec21140.c, src/libchip/network/elnk.c, src/libchip/network/greth.c, src/libchip/network/greth.h, src/libchip/network/open_eth.c: Fix typo where license said found in found in.
2009-12-112009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* libchip/network/dec21140.c: Warning elimination (dec21140_softc->base now is an uint32_t).
2009-12-11Move #include <rtems/pci.h> into #if *_SUPPORTED-guarded code sections.Ralf Corsepius1-1/+1
2009-12-082009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+4
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_dc.c: Ensure PCI drivers are built on all supported configurations. PowerPC conditionals were not current and code was not being built on supported BSPs.
2009-02-192009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+1
* libchip/network/dec21140.c, libchip/network/elnk.c: Make sure this is enabled on x86.
2008-09-202008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+6
* libchip/network/dec21140.c, libchip/network/elnk.c: Detect when there is no PCI bus based upon the BSP not having a base address defined. This means this driver cannot be supported on that board.
2008-09-192008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_dc.c: Eliminate vestiges of mpc603e define.
2008-08-192008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-104/+104
* libchip/display/disp_hcms29xx.c: Initialize softc_ptr to NULL. * libchip/network/dec21140.c, libchip/network/if_dc.c: Use uint32_t.
2008-08-18Add missing prototype.Ralf Corsepius1-1/+1
2007-04-01i386-specific adjustments to pci-API changes.Ralf Corsepius1-2/+2
2007-04-01powerpc-specific adjustments to pci-API changes.Ralf Corsepius1-2/+2
2007-03-312007-03-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* libchip/network/dec21140.c, libchip/network/if_dc.c, libchip/network/if_fxp.c: Reflect changes to pci-API.
2006-12-14Use ioctl_command_t as ioctl argument.Ralf Corsepius1-1/+1
2006-11-172006-11-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-117/+0
* libchip/network/dec21140.c: Fix spacing -- remove long sections of blank lines.
2005-11-04Use libcpu/byteorder.h for i386.Ralf Corsepius1-11/+4
2005-10-20Numerous changes and cleanups to support MVME2100.Eric Norum1-1/+1
2005-08-222005-08-18 Karel Gardas <kgardas@objectsecurity.com>Joel Sherrill1-3/+0
* libchip/network/if_fxp.c, libchip/network/if_dc.c, libchip/network/dec21140.c: Remove initialization of PCI bus.
2005-05-062005-05-06 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-5/+0
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c: Moved irq.h to bsp subdirectory.
2005-05-042005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-21/+5
* libchip/network/dec21140.c, libchip/network/elnk.c: Consolidation of code as a result of the implementation of a common PCI interface.
2005-05-032005-05-03 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+1
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c, libchip/serial/mc68681.c: Modified parameter list to remove warnings.
2005-03-142005-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-57/+20
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c: Continue PCI API unification. All use pci_find_device(). Network drivers manufacture a signature since all calls have not been converted yet.
2005-03-042005-03-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-3/+3
* libchip/network/dec21140.c, libchip/network/if_fxp.c: Make PCI initialize function part of the unified PCI API as pci_initialize().
2004-11-102004-11-10 Richard Campbell <richard.campbell@oarcorp.com>Joel Sherrill1-13/+13
* libchip/network/dec21140.c: Cleanup a bit and remove message about not supported on PowerPC since it works on the MVME2100 BSP.
2004-10-112004-10-11 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-0/+1
* libchip/network/dec21140.c: include <rtems/pci.h>.
2004-09-272004-04-09 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill1-8/+3
PR 607/networking * libchip/network/dec21140.c: Made PCI configuration minimum sane instead of fully specifying unused PCI features.
2004-05-212004-05-21 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill1-3/+6
* PR/625/networking * libchip/network/dec21140.c, ... : Prevent name clashes by making 'ld_le32()' etc. static inlines. Let dec21140 attach routine return an error rather than panic if no chip is detected (thus allowing for probing). * libchip/network/elnk.c: Let elnk bail out if autoneg never completes instead of looping forever. Avoid divide by zero (crashed my PC). * libchip/network/if_fxp.c: Enable more fxp chip variants but warn that they are UNTESTED.
2004-04-222004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-0/+1
* libchip/network/dec21140.c, libchip/network/elnk.c: #include <errno.h>.
2004-04-20Remove stray white spaces.Ralf Corsepius1-53/+53
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-2/+2
* libchip/ide/ata.c, libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/i82586.c, libchip/network/if_fxp.c, libchip/network/if_fxpvar.h, libchip/network/open_eth.c, libchip/network/sonic.c, libchip/rtc/icm7170.c, libchip/serial/ns16550.c, libchip/serial/z85c30.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/init.c, libchip/shmdr/intr.c, libchip/shmdr/shm_driver.h: Cosmetics.
2004-03-232004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-9/+9
* libchip/ide/ata.c, libchip/ide/ata_internal.h, libchip/ide/ide_controller.c, libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h, libchip/network/cs8900.c, libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c, libchip/network/open_eth.c, libchip/network/open_eth.h, libchip/network/sonic.c, libchip/network/sonic.h, libchip/rtc/icm7170.c, libchip/rtc/icm7170.h, libchip/rtc/icm7170_reg.c, libchip/rtc/icm7170_reg2.c, libchip/rtc/icm7170_reg4.c, libchip/rtc/icm7170_reg8.c, libchip/rtc/m48t08.c, libchip/rtc/m48t08.h, libchip/rtc/m48t08_reg.c, libchip/rtc/m48t08_reg2.c, libchip/rtc/m48t08_reg4.c, libchip/rtc/m48t08_reg8.c, libchip/rtc/rtc.h, libchip/serial/mc68681.c, libchip/serial/mc68681.h, libchip/serial/mc68681_reg.c, libchip/serial/mc68681_reg2.c, libchip/serial/mc68681_reg4.c, libchip/serial/mc68681_reg8.c, libchip/serial/ns16550.c, libchip/serial/ns16550_p.h, libchip/serial/serial.h, libchip/serial/z85c30.c, libchip/serial/z85c30.h, libchip/serial/z85c30_p.h, libchip/serial/z85c30_reg.c, libchip/shmdr/addlq.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/dump.c, libchip/shmdr/fatal.c, libchip/shmdr/getlq.c, libchip/shmdr/init.c, libchip/shmdr/initlq.c, libchip/shmdr/intr.c, libchip/shmdr/poll.c, libchip/shmdr/send.c, libchip/shmdr/shm_driver.h: Convert to using c99 fixed-size types.
2004-03-092004-03-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-11/+8
* libchip/network/dec21140.c: Use __PPC__ instead of __PPC. Cosmetics.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* ide/ata.c, ide/ata.h, ide/ata_internal.h, ide/ide_controller.c, ide/ide_ctrl.h, ide/ide_ctrl_cfg.h, ide/ide_ctrl_io.h, network/cs8900.c, network/cs8900.c.bsp, network/cs8900.h, network/dec21140.c, network/elnk.c, network/open_eth.c, network/sonic.c, network/sonic.h, rtc/icm7170.c, rtc/icm7170.h, rtc/icm7170_reg.c, rtc/icm7170_reg2.c, rtc/icm7170_reg4.c, rtc/icm7170_reg8.c, rtc/m48t08.c, rtc/m48t08.h, rtc/m48t08_reg.c, rtc/m48t08_reg2.c, rtc/m48t08_reg4.c, rtc/m48t08_reg8.c, rtc/rtc.h, rtc/rtcprobe.c, serial/mc68681.c, serial/mc68681.h, serial/mc68681_p.h, serial/mc68681_reg.c, serial/mc68681_reg2.c, serial/mc68681_reg4.c, serial/mc68681_reg8.c, serial/serial.h, serial/z85c30.c, serial/z85c30.h, serial/z85c30_p.h, serial/z85c30_reg.c: URL for license changed.
2003-06-302003-06-30 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill1-20/+34
* network/dec21140.c, network/elnk.c: Update to compile on i386.
2003-06-132003-06-13 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill1-579/+899
PR 405/bsps PR 393/networking * network/dec21140.c: Fix leak also known as PR393. * network/elnk.c, network/if_media.h, network/mii.h: New files. * network/Makefile.am: Reflect new files.
2002-10-312002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+3
* network/dec21140.c: Removed warnings.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-10/+10
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am: Per PR215 address the following issues: - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET are no longer defined by libcpu (powerpc/shared/include/io.h) but by the BSP (who is the only one to know the values) - the affected BSP (shared/motorola) headers have been fixed in a separate "libbsp/powerpc/shared" patch. - the DEC 21140 driver (libchip/network/dec21140.c) has been fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET. and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE is to be defined by the BSP who is using this driver. - the DEC driver also has been fixed to use the newer rtems_bsp_delay_in_bus_cycles() instead of the obsolete delay_in_bus_cycles().
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-4/+2
* network/dec21140.c: Reflect changes to powerpc's rtems/score/cpu.h. Use __PPC__ for gcc-3.x compliance.