summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: PR2076: SMC91111 fixes for mpc55xxevb BSPPeter Dufault2012-10-021-2/+2
| | | | | | | | - A typo prevents if_smc.c from being built when configured; - The argument passed to the interrupt handler was incorrect and the addition of support for RTEMS_INTERRUPT_SHARED exposed it; - A "#ifdef DEBUG" is supposed to be "#if DEBUG" since 0 is supposed to make it quiet.
* Remove CVS-Ids.Ralf Corsépius2012-07-193-6/+1
|
* pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill2012-05-161-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
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-114-10/+3
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1115-49/+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.
* lm32: replace lm32_isr with rtems_isrGedare Bloom2012-04-161-4/+0
|
* m68k: replace m68k_isr with rtems_isrGedare Bloom2012-04-162-7/+1
|
* GRETH: use shared-irq service instead of BSP specific set_vec()Daniel Hellstrom2012-04-062-23/+15
| | | | | | | | | | The ISR code is updated to use argument instead of global greth structure, now that the greth private is available in the ISR. The shared-irq routines will unmask the IRQ, so the forced LEON3 BSP unmask/clear IRQ is removed. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SMC91111: updated to use shared IRQ serviceDaniel Hellstrom2012-04-062-12/+9
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SMC91111: remove old unused LEON2/LEON3 intialization codeDaniel Hellstrom2012-03-291-36/+0
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* GRETH: removed the use of rtems_set_clock() in auto-nego timeoutDaniel Hellstrom2012-03-291-29/+18
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* GRETH: added support for non-snooping GRETH 10/100 systemsDaniel Hellstrom2012-03-271-7/+61
| | | | | | | | | | | | | | | | | | When data cache snooping is not present the cache needs flushing, the SPARC LEON CPUs does not have to ability to flush individual cache rows and flushing all cache is expensive. Instead the LDA instruction is used to force cache miss on individual loads during the IP-align copy operation required anyway. GRETH GBIT non-snooping systems are still unsupported, since it use zero-copy (can deal with unaligned DMA). Let the bsp.h select if the GRETH driver is supported. Currently only the LEON2/LEON3 platforms BSPs builds the driver. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SMC91111: ERC32 was never supported by driverDaniel Hellstrom2012-03-211-2/+2
| | | | | | | | | Moved the intelligence whether the driver is supported or not completely to the BSP, now that bsp.h is included (even though it is a driver... hmm). The ERC32 was never supported, so HAS_SMC91111 is not added to erc32/include/bsp.h. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* PR 2011/networking - GRETH: performance improvements and one bugfixJoel Sherrill2012-02-021-179/+316
| | | | | | | | | | | | GRETH driver updated, 10-15% performance improvements for GBIT MAC, unnecessary RX interrupts not taken which under heavy load saves approx. 1500 interrupts/s, one task removed saving about 5kb memory and 1 bug solved. BUG: RX interrupt was enabled before the RX-daemon was created which could result in a faulty call to rtems_event_send. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* PR 2011/networking GRETH: Moved print to remove potential deadlockJoel Sherrill2012-02-021-2/+11
| | | | | | | | | Deadlock may arise when the EDCL bug link is used to tunnel console output over Ethernet, when Ethernet is down one should avoid using console (only during debugging of LEON targets) Author: Marko Isomaki <marko@gaisler.com> Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* Fixed race condition during startup.Sebastian Huber2012-01-311-12/+14
|
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-091-2/+1
| | | | * libchip/network/sonic.c: Activate SONIC_STATIC.
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-091-1/+1
| | | | * libchip/network/if_fxp.c: Add missing initializer.
* 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-081-4/+4
| | | | | | * libchip/network/sonic.c: Make sonic_enable_interrupts, sonic_disable_interrupts, sonic_clear_interrupts, sonic_command static.
* 2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-231-2/+4
| | | | | * libchip/network/smc91111.c (lan91cxx_recv): Define var "lp" conditionally (Avoid warning).
* 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-221-2/+0
| | | | | * libchip/network/dec21140.c (dec21140_rxDaemon): Remove unused var "tbase".
* 2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-191-4/+4
| | | | * libchip/network/smc91111.c: Use PRIxPTR to print pointers.
* 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-111-2/+0
| | | | * libchip/network/smc91111.c: Eliminate unused var "success".
* 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-101-2/+2
| | | | * libchip/network/sonic.c: Don't cast pointers to uint32_t.
* 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-096-6/+6
| | | | | | | * libchip/network/greth.c, libchip/network/open_eth.c libchip/network/sonic.c: Eliminate evil typecasts. * libchip/network/greth.h, libchip/network/open_eth.h, libchip/network/sonic.h: Use void* for addresses.
* 2011-08-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-302-23/+27
| | | | | * libchip/network/smc91111exp.h, libchip/network/smc91111.c: Use BSP_FEATURE_IRQ_EXTENSION define.
* 2011-08-30 Peter Dufault <dufault@hda.com>Sebastian Huber2011-08-303-39/+78
| | | | | | | | | | | | | * libchip/network/smc91111.c: Modify to support the MPC5554 using new exceptions. Fix where the networking status is being dumped to a single thousand-character line. Add support for when the chip loaded it's MAC address from a serial chip at reset (the SMC91111_ENADDR_IS_SETUP option). Call lan91cxx_start() every time the the device is initialized. Without this change the chip can not be "upped" once it has been downed. * c/src/libchip/network/smc91111.h: Change the "#ifdef expression" to "#if expression". * c/src/libchip/network/smc91111exp.h: Add support for new exceptions.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-1/+1
| | | | | * libchip/network/smc91111config.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-285-5/+5
| | | | | | | * 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.
* 2010-08-20 <yann.sionneau@telecom-sudparis.eu>Joel Sherrill2010-08-202-0/+4
| | | | | * libchip/network/greth.c, libchip/network/open_eth.c: Add constants for buffer modes.
* 2010-06-03 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-031-5/+1
| | | | * libchip/network/if_dc.c: Fix warning.
* 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-311-6/+13
| | | | | * libchip/network/greth.c: Misc. hacks to allow compilation on 16bit targets.
* 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-311-0/+9
| | | | | | PR 1531/newlib * libchip/network/i82586.c: Add local copy of ALIGN().
* 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-311-5/+6
| | | | | * libchip/network/cs8900.c: Misc. changes to make code 16bit-target compliant.
* 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-311-4/+4
| | | | | * libchip/network/i82586.c: Use int32_t instead of int for 16bit-target compliance.
* 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-311-4/+15
| | | | | * libchip/network/open_eth.c: Misc. changes to make code 16bit-target compliant.
* 2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-281-1/+0
| | | | * libchip/network/if_dc.c: Remove warnings.
* 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-121-1/+1
| | | | | | * libchip/network/i82586.c: Readdress use of ctype methods per recommendation from D.J. Delorie on the newlib mailing list. We should pass an unsigned char into these methods.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-111-1/+1
| | | | * libchip/network/i82586.c: Fix warnings for ctype methods.
* 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-171-8/+8
| | | | | * libchip/network/greth.c: Eliminate unused type rtems_clock_time_value.
* 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-111-1/+1
| | | | | * libchip/network/dec21140.c: Warning elimination (dec21140_softc->base now is an uint32_t).
* Move #include <rtems/pci.h> into #if *_SUPPORTED-guarded code sections.Ralf Corsepius2009-12-113-3/+3
|
* 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-083-10/+15
| | | | | | | * 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.
* Whitespace removal.Ralf Corsepius2009-11-308-166/+166
|
* 2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-11-231-41/+38
| | | | * libchip/network/smc91111.c: Formatting.
* 2009-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-11-061-4/+4
| | | | * libchip/network/elnk.c: Use PRI*32 to print u_int32_t's.
* 2009-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-11-061-2/+2
| | | | * libchip/network/if_dc.c: Fix type mismatch.
* 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-101-2/+1
| | | | | * libchip/network/elnk.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
* 2009-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-111-1/+1
| | | | | | * libchip/network/i82586.c: Fix warning in manner suggested by Arnout Vandecappelle <arnout@mind.be> in http://www.rtems.org/pipermail/rtems-users/2009-May/005460.html.
* 2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-061-9/+17
| | | | * libchip/network/if_dc.c: Fixed warnings.