summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network (follow)
Commit message (Collapse)AuthorAgeFilesLines
* elnk.c: Fix printf() format warningsJoel Sherrill2017-04-201-3/+9
|
* elnk.c: rtems_elnk_driver_attach() prototype addedJoel Sherrill2017-04-201-0/+3
|
* elnk.c: Make elnk_txDaemon() static to fix warningJoel Sherrill2017-04-201-1/+1
|
* if_fxp.c: Add prototype of rtems_fxp_attach()Joel Sherrill2017-04-201-0/+3
|
* if_fxp.c: Remove unused variableJoel Sherrill2017-04-201-1/+1
|
* dec21140.c: Add prototype of dec21140_txDaemon()Joel Sherrill2017-04-201-0/+2
|
* dec21140.c: Fix printk() warningsJoel Sherrill2017-04-201-3/+3
|
* dec21140.c: Include <libcpu/page.h> to eliminate warningsJoel Sherrill2017-04-201-0/+1
|
* dec21140.c: Fix PRIxx formatterJoel Sherrill2017-04-201-1/+1
|
* libchip/network/dec21140.c: Use inttypes.h to fix 1 warning.Cillian O'Donnell2017-04-141-1/+3
|
* libchip/network/if_fxp.c: do not use rtems_interrupt_disable.Pavel Pisa2016-10-171-7/+4
| | | | | | | | | | The single write to memory or ioport output are mostly atomic operations already. The proper memory synchronization barrier should be used around them to guarantee ordering (sync or eieio on PowerPC for example) but because I have not found settable portable primitive only compiler barrier is used. It should be enough on x86 because the externally visible order should be/is guaranteed to be preserved on x86 architecture.
* classic networking: adapt FXP driver to work with actual PCI and IRQ code.Pavel Pisa2016-09-212-106/+98
| | | | | | | | | | | Tested to work with QEMU provided Intel i82557b network controller emulation. qemu-system-x86_64 -enable-kvm -kernel $APP_BINARY \ -vga cirrus \ -append "--console=/dev/com1" \ -serial stdio \ -net nic,vlan=1,macaddr=be:be:be:10:00:01,model=i82557b \ -net tap,ifname=tap1,vlan=1,script=no,downscript=no
* classic networking: do not reference BSP_irq_enabled_at_i8259s which is no ↵Pavel Pisa2016-09-204-31/+4
| | | | | | | 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.
* libchip: Remove dwmac network interface driverSebastian Huber2016-05-3114-6644/+0
| | | | | The network interface driver for this module is located in the new network stack (libbsd), see file "if_dwc.c".
* sonic.c: Fix warning on gcc 6Martin Galvan2016-05-061-13/+11
| | | | | | | | | | | | | GCC 6.0 previews give the following warning on sonic.c: ../../../../../rtems/c/src/libchip/network/sonic.c:837:11: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] This was discussed here: https://lists.rtems.org/pipermail/devel/2016-March/014004.html and we concluded it would be better to rewrite the entire snippet.
* pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API usesJoel Sherrill2016-03-101-1/+42
| | | | | | | | | | | | | | | | | | | | This first step eliminates the following as public APIs for the pc386 BSP: + pcib_conf_read8 + pcib_conf_read16 + pcib_conf_read32 + pcib_conf_write8 + pcib_conf_write16 + pcib_conf_write32 The if_fxp.c driver uses these enough where I provided local macros to allow the code to be mostly unmodified. On other architectures these names have been used privately. It will take multiple patches to completely eliminate these symbols from the RTEMS source tree. The focus of the first effort is just to eliminate these as a public pc386 API so support can be added for systems without legacy PCI BIOS.
* libchip/network/if_fxp.c: Do not use rtems_clock_get()Joel Sherrill2015-03-171-1/+1
|
* libchip/dwmac: Use RTEMS_DEVOLATILE()Sebastian Huber2014-09-081-4/+11
|
* libchip/dwmac: Make PHY address user configurableChristian Mauderer2014-08-223-12/+30
| | | | | | This patch allows the user to configure the PHY address for the DWMAC driver by giving a pointer to a dwmac_user_cfg structure to network stack via rtems_bsdnet_ifconfig::drv_ctrl.
* GRETH: remove TCP/UDP HW checksum generationDaniel Hellstrom2014-06-051-2/+2
| | | | The GRETH doesn't support IP fragments.
* libchip: Add asserts to dwmac driverRalf Kirchner2014-04-301-0/+3
|
* libchip: Correct netstats message for dwmac driverRalf Kirchner2014-04-301-1/+1
|
* libchip: Correct error handling in dwmac driverRalf Kirchner2014-04-171-11/+4
| | | | By fault an rtems_status_code has been expected instead of an errno error number.
* libchip: Reduce tx interruptsRalf Kirchner2014-04-174-222/+262
| | | | | | | Reduce number of packet transmitted interrupts by using the interrupt mechanism only if we run out of DMA descriptors. Under normal conditions regaining DMA descriptors, mbufs and clusters is handled via a counter.
* libchip: CleanupRalf Kirchner2014-04-171-2/+2
|
* libchip: Improve handling of DMA suspendsRalf Kirchner2014-04-171-0/+1
| | | | Reset the corresponding DMA status bit
* libchip: Avoid __DEVOLATILE()Sebastian Huber2014-03-311-11/+9
|
* greth: Make local functions static, remove overflow and correct printf call.Daniel Cederman2014-03-211-6/+8
|
* smc91111: Move driver attach prototype to header file.Daniel Cederman2014-03-212-3/+8
| | | | Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-219-9/+9
|
* libchip: Relax buffer counts and add fatal errorRalf Kirchner2014-03-141-2/+13
|
* libchip: Include <bsp.h> BSP options definitionSebastian Huber2014-03-141-2/+2
|
* libchip: Check interrupt extension availabilitySebastian Huber2014-03-131-0/+13
|
* libchip: Avoid <bsp/utility.h>Sebastian Huber2014-03-132-578/+612
|
* libchip: Add dwmac 10/100/1000 network driverRalf Kirchner2014-03-1314-0/+6526
|
* score: Merge tod implementation into one fileSebastian Huber2013-07-262-5/+5
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* greth: do not advertise 1000M capability if MAC does not support it.Jiri Gaisler2013-06-191-0/+11
|
* greth: prefer full duplex if availableJiri Gaisler2013-06-191-3/+3
|
* libchip/network: Fixed warningAndreas Heinig2013-02-271-1/+2
|
* libnetworking: Use system eventsSebastian Huber2012-11-0210-30/+30
| | | | | | | Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
* Make open_eth_txDaemon static.Ralf Corsépius2012-10-191-1/+1
|
* 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>