Commit Graph

555 Commits

Author SHA1 Message Date
Sebastian Huber
1215fd4d94 sapi: SMP support for chains
Add ISR lock to chain control for proper SMP protection.  Replace
rtems_chain_extract() with rtems_chain_explicit_extract() and
rtems_chain_insert() with rtems_chain_explicit_insert() on SMP
configurations.  Use rtems_chain_explicit_extract() and
rtems_chain_explicit_insert() to provide SMP support.
2013-08-30 11:16:28 +02:00
Sebastian Huber
88c74ab115 score: Merge tod implementation into one file
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and
TOD_MILLISECONDS_TO_TICKS().
2013-07-26 11:55:47 +02:00
Sebastian Huber
39046f766f score: Merge sysstate API into one file 2013-07-24 11:11:21 +02:00
Sebastian Huber
7660e8b347 Include missing <string.h> 2013-07-23 15:12:54 +02:00
Sebastian Huber
7306578c42 bsps/serial: Move bsp_console_select() declaration 2013-07-17 08:19:59 +02:00
Sebastian Huber
85d2e4b58f libchip/ata: Remove dead code 2013-07-16 19:09:25 +02:00
Joel Sherrill
48a22edb4a libchip ns16550.c: Improve comment 2013-07-09 12:40:51 -05:00
Sebastian Huber
e310dcddd0 libchip/serial: Add const qualifier 2013-06-29 15:15:50 +02:00
Sebastian Huber
f97f46ce75 libchip/serial: Fix warning 2013-06-21 10:26:11 +02:00
Jiri Gaisler
45fecbb6db greth: do not advertise 1000M capability if MAC does not support it. 2013-06-19 08:21:49 -05:00
Jiri Gaisler
1bdc6d1d5c greth: prefer full duplex if available 2013-06-19 08:21:49 -05:00
Sebastian Huber
15f3a91858 libchip: Use Termios API change for NS16550
This avoids a race condition on SMP configurations.
2013-06-12 16:12:52 +02:00
Sebastian Huber
6896ca22bb libchip: Delete superfluous assignments 2013-06-12 16:12:52 +02:00
Sebastian Huber
65cd5e94f2 libchip/serial: Fix warnings 2013-04-08 16:42:37 +02:00
Sebastian Huber
e2b4891309 libchip: Fix prototypes 2013-03-01 16:29:20 +01:00
Andreas Heinig
aa314cf883 libchip/rtc: Fixed 19 compiler warnings 2013-02-28 12:26:43 -05:00
Andreas Heinig
f806289f31 libchip/serial: Fixed warnings 2013-02-28 12:26:43 -05:00
Andreas Heinig
c6902a8605 libchip/network: Fixed warning 2013-02-27 16:06:12 +01:00
Sebastian Huber
5455f23a0e libchip/serial: Make NS16550 handler public
This allows derived drivers to use these functions.
2013-02-11 14:44:46 +01:00
Sebastian Huber
c8bd3cda93 libchip/serial: Add const qualifier 2013-02-11 14:44:46 +01:00
Sebastian Huber
e4933743ef libchip/serial: Fix warnings 2013-02-11 14:44:46 +01:00
Sebastian Huber
49f65bef3e libchip/serial: Fix warnings 2013-02-11 14:44:46 +01:00
Sebastian Huber
d2a4f158e1 libchip/serial: Fix warnings 2013-02-11 14:44:46 +01:00
Sebastian Huber
fb070e054d libchip: Add I2C SEMTECH SC620 octal LED driver 2013-01-09 16:45:26 +01:00
Sebastian Huber
9f0a68ce5a libblock: Block device transfer request API change
Add and use rtems_blkdev_request_done().  Block device transfer requests
must signal the completion status now with rtems_blkdev_request_done().
The return value of the block device IO control will be ignored for
transfer requests.

The first parameter of rtems_blkdev_request_cb is now the transfer
request structure.

Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to
break third party drivers at compile time, otherwise this API change
would result in runtime errors.
2012-11-02 09:40:58 +01:00
Sebastian Huber
26e90fb1c6 libnetworking: Use system events
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.

Add and use rtems_bsdnet_event_send().
2012-11-02 09:34:35 +01:00
Ralf Corsépius
64d6f192c9 Eliminate unused var 'digit'. 2012-10-19 14:17:46 +02:00
Ralf Corsépius
b52630c6f5 Make open_eth_txDaemon static. 2012-10-19 14:16:48 +02:00
Ralf Corsépius
2fcc3607ed Fix z85c30_get_register, z85c30_set_register prototype mismatch. 2012-10-15 17:58:34 +02:00
Ralf Corsépius
364e891836 Include libchip/z85c30.h. 2012-10-15 17:58:10 +02:00
Ralf Corsépius
4c3d4fd5d4 Include stdint.h, libchip/serial.h. 2012-10-15 17:57:59 +02:00
Joel Sherrill
0e27119f80 Use proper 3 line form of license text 2012-10-11 15:52:51 -05:00
Peter Dufault
967481a09a bsps: PR2076: SMC91111 fixes for mpc55xxevb BSP
- 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.
2012-10-02 15:27:34 +02:00
Ralf Corsépius
1c554014af Remove CVS-Ids. 2012-07-19 16:55:18 +02:00
Sebastian Huber
c39148d62f libchip: Add support for NS16550 with FDR 2012-06-15 15:59:32 +02:00
Sebastian Huber
51c85da2ce libchip/ata: Fix pre-processor symbol evaluation 2012-06-12 15:31:37 +02:00
Joel Sherrill
8bbf69e6e6 pci.h cleanup - Consolidate common defines to cpukit pci.h
+ 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-16 16:11:44 -05:00
Joel Sherrill
65c6425de9 Remove CVS Id Strings (manual edits after script)
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.
2012-05-11 08:44:14 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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.
2012-05-11 08:44:13 -05:00
Joel Sherrill
a29909cb87 libchip/serial - Only use set_vector() on Simple Vectored Architectures 2012-05-09 16:56:33 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
91d2e18249 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Joel Sherrill
853ab2befa libchip hcms29xx - Remove odd $Id$ and clean up file header 2012-05-02 15:41:13 -05:00
Joel Sherrill
2698728762 libchip z85c30 - Remove bad $Id$ and clean up file header 2012-05-02 15:41:12 -05:00
Gedare Bloom
416f1efbd2 lm32: replace lm32_isr with rtems_isr 2012-04-16 13:11:20 -04:00
Gedare Bloom
1fec9e0357 m68k: replace m68k_isr with rtems_isr 2012-04-16 13:11:20 -04:00
Daniel Hellstrom
7499b84f41 GRETH: use shared-irq service instead of BSP specific set_vec()
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>
2012-04-06 11:38:31 -05:00
Daniel Hellstrom
0f04edd9cc SMC91111: updated to use shared IRQ service
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-04-06 11:38:25 -05:00
Daniel Hellstrom
b9d8cd3389 SMC91111: remove old unused LEON2/LEON3 intialization code
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-03-29 11:17:42 -05:00
Daniel Hellstrom
e6f327c785 GRETH: removed the use of rtems_set_clock() in auto-nego timeout
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-03-29 11:17:42 -05:00