Commit Graph

10421 Commits

Author SHA1 Message Date
Till Straumann
1bab8a6df1 2010-02-09 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: Added code to restart halted DMA
	after a TX error (from error-isr). Added statistics
	counters for restarts and DMA bus errors.
2010-02-10 01:59:57 +00:00
Till Straumann
5068f3f994 2010-02-09 Till Straumann <strauman@slac.stanford.edu>
* network/if_mve/mv643xx_eth.c: Fixed alignment attribute
	in descriptor declaration. Not the pointers to the descriptors
	have to be aligned but the descriptors themselves (didn't
	cause problems but caused unnecessary holes in 'private' struct).

	FIX: Added more robustness when number of available TX descriptors
	drops to zero. (This can e.g., happen if the link goes bad causing
	packets to stall in the FIFO.) At the following points the transmitter
	is explicitly (re-)started:
	  o when link comes up and number of available TXDs is zero the
	    TX is restarted.
	  o on a failed attempt to send data due to lack of TXDs the
	    TX is restarted if swiping the TX ring doesn't yield any
	    buffers (i.e., if the # of available buffers is still zero
	    after the swipe).
2010-02-10 00:15:06 +00:00
Ralf Corsepius
33369234cd 2010-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/lpc32xx_phycore.cfg: Remove -W* flags.
2010-02-02 15:56:21 +00:00
Thomas Doerfler
f1eb199a2e Update of libblock API, update of tqm8xx BSP 2010-01-19 09:12:41 +00:00
Thomas Doerfler
de592aa6f1 tqm8xx BSP fixes 2010-01-19 09:11:34 +00:00
Thomas Doerfler
1ba96ef99a Update for block device API change. 2010-01-19 09:10:56 +00:00
Thomas Doerfler
5c587596f0 libblock API update 2010-01-19 09:10:03 +00:00
Thomas Doerfler
61df726b16 add missing file 2010-01-12 15:17:47 +00:00
Thomas Doerfler
39c8fdb416 add support for lpc32xx 2010-01-12 15:03:22 +00:00
Joel Sherrill
fe83cef683 2010-01-11 Allan Hessenflow <allanh@kallisti.com>
* serial/spi.c, serial/spi.h:
	Fill in skeleton with functional SPI master code.
	* include/spiRegs.h:
	Correct spi shadow register declaration.
2010-01-11 16:14:47 +00:00
Joel Sherrill
e1ddc14b08 2009-12-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Add BSP_HAS_FRAME_BUFFER.
2009-12-23 17:33:41 +00:00
Joel Sherrill
2687028949 2009-12-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h:
	Fixed timeout calculation.
2009-12-22 13:12:57 +00:00
Thomas Doerfler
1e0a5512fc Update for block device API change 2009-12-18 15:59:30 +00:00
Joel Sherrill
57674ef62e 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/greth.c: Eliminate unused type
	rtems_clock_time_value.
2009-12-17 20:35:40 +00:00
Joel Sherrill
e38b77ce20 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bspopts.h.in: Regenerated.
2009-12-17 20:24:32 +00:00
Thomas Doerfler
93d2801be7 adapted to new _write function prototype 2009-12-17 09:51:32 +00:00
Thomas Doerfler
39a9f8ea12 adapted to new prototype for *_write function 2009-12-17 08:42:17 +00:00
Thomas Doerfler
b056194ce3 add missing files 2009-12-16 08:10:29 +00:00
Thomas Doerfler
85893bca07 removed obsolete file (moved to arm/shared/lpc/clock) 2009-12-15 15:25:45 +00:00
Thomas Doerfler
c468f18bb7 add support for LPC32xx 2009-12-15 15:20:47 +00:00
Joel Sherrill
3a23218a74 2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/mp01_node1.adb, mptests/mp01/node2/mp01_node2.adb,
	mptests/mp02/node1/mp02_node1.adb, mptests/mp02/node2/mp02_node2.adb,
	mptests/mp03/node1/mp03_node1.adb, mptests/mp03/node2/mp03_node2.adb,
	mptests/mp04/node1/mp04_node1.adb, mptests/mp04/node2/mp04_node2.adb,
	mptests/mp05/mptest.adb, mptests/mp05/node1/mp05_node1.adb,
	mptests/mp05/node2/mp05_node2.adb, mptests/mp06/node1/mp06_node1.adb,
	mptests/mp06/node2/mp06_node2.adb, mptests/mp07/node1/mp07_node1.adb,
	mptests/mp07/node2/mp07_node2.adb, mptests/mp08/node1/mp08_node1.adb,
	mptests/mp08/node2/mp08_node2.adb, mptests/mp09/node1/mp09_node1.adb,
	mptests/mp09/node2/mp09_node2.adb, mptests/mp10/node1/mp10_node1.adb,
	mptests/mp10/node2/mp10_node2.adb, mptests/mp11/node1/mp11_node1.adb,
	mptests/mp11/node2/mp11_node2.adb, mptests/mp12/node1/mp12_node1.adb,
	mptests/mp12/node2/mp12_node2.adb, mptests/mp13/node1/mp13_node1.adb,
	mptests/mp13/node2/mp13_node2.adb, mptests/mp14/mptest.adb,
	mptests/mp14/node1/mp14_node1.adb, mptests/mp14/node2/mp14_node2.adb,
	sptests/sp09/sptest.adb, sptests/sp11/sptest.adb,
	sptests/sp13/sptest.adb, sptests/sp16/sptest.adb,
	support/test_support.adb: Lines are now all less than 80 columns.
2009-12-14 21:28:54 +00:00
Joel Sherrill
110e1f1dfe 2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* samples/base_sp/sptest.adb, samples/hello/sptest.adb,
	samples/nsecs/sptest.adb, samples/ticker/sptest.adb,
	sptests/sp01/sptest.adb, sptests/sp02/sptest.adb,
	sptests/sp03/sptest.adb, sptests/sp04/sptest.adb,
	sptests/sp05/sptest.adb, sptests/sp06/sptest.adb,
	sptests/sp07/sptest.adb, sptests/sp08/sptest.adb,
	sptests/sp09/sptest.adb, sptests/sp11/sptest.adb,
	sptests/sp12/sptest.adb, sptests/sp13/sptest.adb,
	sptests/sp14/sptest.adb, sptests/sp15/sptest.adb,
	sptests/sp16/sptest.adb, sptests/sp17/sptest.adb,
	sptests/sp19/sptest.adp, sptests/sp20/sptest.adb,
	sptests/sp22/sptest.adb, sptests/sp23/sptest.adb,
	sptests/sp24/sptest.adb, sptests/sp25/sptest.adb,
	sptests/spname01/spname01.adb, sptests/spname01/sptest.adb,
	sptests/spname01/sptest.ads, support/address_io.adb, support/init.c,
	support/test_support.adb, support/test_support.ads,
	support/time_test_support.adb, support/timer_driver.adb,
	tmtests/tm01/tmtest.adb, tmtests/tm01/tmtest.ads,
	tmtests/tm02/tmtest.adb, tmtests/tm02/tmtest.ads,
	tmtests/tm03/tmtest.adb, tmtests/tm03/tmtest.ads,
	tmtests/tm04/tmtest.adb, tmtests/tm04/tmtest.ads,
	tmtests/tm05/tmtest.adb, tmtests/tm05/tmtest.ads,
	tmtests/tm06/tmtest.adb, tmtests/tm06/tmtest.ads,
	tmtests/tm07/tmtest.adb, tmtests/tm07/tmtest.ads,
	tmtests/tm08/tmtest.adb, tmtests/tm08/tmtest.ads,
	tmtests/tm09/tmtest.adb, tmtests/tm09/tmtest.ads,
	tmtests/tm10/tmtest.adb, tmtests/tm10/tmtest.ads,
	tmtests/tm11/tmtest.adb, tmtests/tm11/tmtest.ads,
	tmtests/tm12/tmtest.adb, tmtests/tm12/tmtest.ads,
	tmtests/tm13/tmtest.adb, tmtests/tm13/tmtest.ads,
	tmtests/tm14/tmtest.adb, tmtests/tm14/tmtest.ads,
	tmtests/tm15/tmtest.adb, tmtests/tm15/tmtest.ads,
	tmtests/tm16/tmtest.adb, tmtests/tm16/tmtest.ads,
	tmtests/tm17/tmtest.adb, tmtests/tm17/tmtest.ads,
	tmtests/tm18/tmtest.adb, tmtests/tm18/tmtest.ads,
	tmtests/tm19/tmtest.adb, tmtests/tm19/tmtest.ads,
	tmtests/tm20/tmtest.adb, tmtests/tm20/tmtest.ads,
	tmtests/tm21/tmtest.adb, tmtests/tm21/tmtest.ads,
	tmtests/tm22/tmtest.adb, tmtests/tm22/tmtest.ads,
	tmtests/tm23/tmtest.adb, tmtests/tm23/tmtest.ads,
	tmtests/tm24/tmtest.adb, tmtests/tm24/tmtest.ads,
	tmtests/tm25/tmtest.adb, tmtests/tm25/tmtest.ads,
	tmtests/tm28/tmtest.adb, tmtests/tm28/tmtest.ads,
	tmtests/tm29/tmtest.adb, tmtests/tm29/tmtest.ads,
	tmtests/tmck/tmtest.adb, tmtests/tmck/tmtest.ads,
	tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/tmtest.adb,
	tmtests/tmoverhd/tmtest.ads: Remove many warnings.
2009-12-14 21:17:59 +00:00
Joel Sherrill
221db54a51 2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
	samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
	samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
	samples/hello/Makefile.am, samples/nsecs/Makefile.am,
	samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
	sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
	sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
	sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
	sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
	sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
	sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
	sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
	sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
	sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
	sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
	sptests/sp25/Makefile.am, sptests/spname01/Makefile.am,
	tmtests/tm01/Makefile.am, tmtests/tm02/Makefile.am,
	tmtests/tm03/Makefile.am, tmtests/tm04/Makefile.am,
	tmtests/tm05/Makefile.am, tmtests/tm06/Makefile.am,
	tmtests/tm07/Makefile.am, tmtests/tm08/Makefile.am,
	tmtests/tm09/Makefile.am, tmtests/tm10/Makefile.am,
	tmtests/tm11/Makefile.am, tmtests/tm12/Makefile.am,
	tmtests/tm13/Makefile.am, tmtests/tm14/Makefile.am,
	tmtests/tm15/Makefile.am, tmtests/tm16/Makefile.am,
	tmtests/tm17/Makefile.am, tmtests/tm18/Makefile.am,
	tmtests/tm19/Makefile.am, tmtests/tm20/Makefile.am,
	tmtests/tm21/Makefile.am, tmtests/tm22/Makefile.am,
	tmtests/tm23/Makefile.am, tmtests/tm24/Makefile.am,
	tmtests/tm25/Makefile.am, tmtests/tm28/Makefile.am,
	tmtests/tm29/Makefile.am, tmtests/tmck/Makefile.am,
	tmtests/tmoverhd/Makefile.am: Update so all tests build.
2009-12-14 18:28:03 +00:00
Thomas Doerfler
5ea4e632da get vital data from dBUG monitor for COBRA5475 board 2009-12-14 14:57:55 +00:00
Thomas Doerfler
44c28e7a81 emoved ppc_exc_bspsupp.h include file 2009-12-14 14:52:32 +00:00
Thomas Doerfler
8e46b093b5 Removed new-exceptions/bspsupport/ppc_exc_bspsupp.h 2009-12-14 14:51:50 +00:00
Joel Sherrill
0a7fb3c12d 2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c: Fix warning.
2009-12-11 20:54:30 +00:00
Joel Sherrill
e0d83f696a 2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspgetworkarea.c: Make bsp_mem_size available for page table
	initialization.
2009-12-11 20:53:03 +00:00
Joel Sherrill
fa62f19c1c 2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* page.c: Use bsp_mem_size.
2009-12-11 20:52:41 +00:00
Ralf Corsepius
f36eeb35df 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c: Warning elimination
	(dec21140_softc->base now is an uint32_t).
2009-12-11 13:05:22 +00:00
Ralf Corsepius
01f8266c14 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* shared/include/pci.h: Rename pci_config into rtems_pci_config_t.
2009-12-11 13:02:17 +00:00
Ralf Corsepius
df0243f6de 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* pci/pci.c: Rename pci_config into rtems_pci_config_t.
2009-12-11 13:00:27 +00:00
Ralf Corsepius
b80cf5a300 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* shared/pci/pci.c: Rename pci_config into rtems_pci_config_t.
2009-12-11 12:58:28 +00:00
Ralf Corsepius
32c347dc15 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* shared/pci/pcibios.c: Rename pci_config into rtems_pci_config_t.
2009-12-11 12:55:25 +00:00
Ralf Corsepius
bdd2870ed3 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* libchip/network/dec21140.c, libchip/network/elnk.c,
	libchip/network/if_dc.c: Move #include <rtems/pci.h> into #if
	*_SUPPORTED-guarded code sections.
2009-12-11 07:57:50 +00:00
Ralf Corsepius
3e780c1e71 Move #include <rtems/pci.h> into #if *_SUPPORTED-guarded code sections. 2009-12-11 07:57:26 +00:00
Ralf Corsepius
20b9e9d98c 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* network/network.c (au1x00_emac_ioctl): Use ioctl_command_t.
2009-12-11 07:03:06 +00:00
Ralf Corsepius
a93d5c743f 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* serial/uart.c:
	Reflect changes to rtems_termios_callbacks->write.
2009-12-11 04:15:58 +00:00
Ralf Corsepius
bbbe321c1b 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console-io.c: Let bf537Stamp_BSP_poll_char return int.
2009-12-11 04:10:27 +00:00
Ralf Corsepius
92b73bec00 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console-io.c: Let eZKit533_BSP_poll_char return int.
2009-12-11 04:09:43 +00:00
Joel Sherrill
c296687193 2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h, startup/bspgetworkarea.c: Rework bsp_size_memory() to
	ensure that multiboot information regarding memory size is used as
	the primary source. This was broken in the move to supporting a
	unified workspace. It worked this way in 4.9 so this was a
	regression.
2009-12-10 18:44:10 +00:00
Ralf Corsepius
e8d3c1931a 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/console-polled.c:
	Reflect changes to rtems_termios_callbacks->write.
2009-12-10 16:55:36 +00:00
Ralf Corsepius
dab21360b1 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c:
	Reflect changes to rtems_termios_callbacks->write.
2009-12-10 14:43:52 +00:00
Ralf Corsepius
7abb741382 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Eliminate casts.
2009-12-10 13:56:21 +00:00
Ralf Corsepius
dfddaf1c1a 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/uart.c, shared/comm/uart.h: Adjust prototypes.
2009-12-10 13:55:22 +00:00
Ralf Corsepius
ac04c16438 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/uart.c: Let _BSP_in_char return int.
2009-12-10 13:03:35 +00:00
Ralf Corsepius
6be3405695 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/irq/irq_init.c: Add missing initializer.
2009-12-10 08:50:57 +00:00
Ralf Corsepius
e8cf7b5f6a 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Let bsp_in_char return int.
2009-12-10 08:46:17 +00:00
Ralf Corsepius
b33806656e 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/console/polled_io.c: Add prototype for boot_udelay.
2009-12-10 06:02:21 +00:00
Ralf Corsepius
f5e7330b78 Add prototype for boot_udelay. 2009-12-10 06:02:14 +00:00