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
3e780c1e71
Move #include <rtems/pci.h> into #if *_SUPPORTED-guarded code sections.
2009-12-11 07:57:26 +00:00
Joel Sherrill
a5b5b50866
2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* 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-12-08 16:54:20 +00:00
Ralf Corsepius
3495c57d11
Whitespace removal.
2009-11-30 03:49:08 +00:00
Joel Sherrill
6e701e2cbf
2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libchip/network/smc91111.c: Formatting.
2009-11-23 20:12:39 +00:00
Ralf Corsepius
d949482a3c
2009-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/ide/ata.c (rtems_ata_initialize): Avoid implicit cast to uint16_t.
2009-11-12 16:34:24 +00:00
Ralf Corsepius
8509ec2c5b
2009-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/ide/ata.c (ata_non_data_request): Change arg from int to
uint32_t (16bit ints are too small).
2009-11-12 15:29:35 +00:00
Ralf Corsepius
ccb670c558
2009-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/network/elnk.c: Use PRI*32 to print u_int32_t's.
2009-11-06 04:44:39 +00:00
Ralf Corsepius
260e6fb356
2009-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/network/if_dc.c: Fix type mismatch.
2009-11-06 04:36:13 +00:00
Ralf Corsepius
4b8a90e523
2009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/ide/ata.h: Move extern "C".
2009-10-22 11:48:29 +00:00
Ralf Corsepius
2ea9810878
Use hex-constants to avoid implicit int-casts.
...
Use rtems_off64_t offsets to avoid loosing precision.
2009-10-22 05:43:26 +00:00
Ralf Corsepius
05c599df30
Use hex-constants to avoid implicit int-casts.
2009-10-22 05:43:06 +00:00
Thomas Doerfler
60e5832e23
interrupt handler type change
2009-10-21 13:24:35 +00:00
Ralf Corsepius
822c03eb5e
Regenerate.
2009-10-21 02:30:35 +00:00
Ralf Corsepius
c244c2133e
Remove AM_CONDITIONAL LIBCHIP.
2009-10-21 02:30:21 +00:00
Thomas Doerfler
7cafde2296
Enable interrupts during open to avoid NULL pointer access in interrupt handler.
2009-10-13 11:34:49 +00:00
Thomas Doerfler
94d7bd743c
Update for block device API change.
2009-10-13 08:00:11 +00:00
Chris Johns
7357f5665b
2009-10-08 Chris Johns <chrisj@rtems.org>
...
* libchip/ide/ata.c, c/src/libchip/ide/ata_internal.h: Remove the
multiblock support from the ATA driver. Multiblock at the disk
level should not be a global policy as a disk may have more than
one partition with different block sizes. An IDE driver could
decide to use the feature with DMA but this a driver specific
design choice. Fixed bugs relating to variable block sizes and
large block transfer.
* c/src/libchip/ide/ide_controller.c,
c/src/libchip/ide/ide_ctrl_cfg.h, c/src/libchip/ide/ide_ctrl_io.h:
Changed the block size to 32bits so blocks of 64K or bigger can be
transfered in a single driver call.
2009-10-08 07:25:15 +00:00
Joel Sherrill
37f9717a4b
2009-10-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/ide/ata.c: Revert previous change. Not all ARM BSPs use a
shared irq.h yet and this breaks a significant number of them.
2009-10-05 14:39:26 +00:00
Joel Sherrill
3926b0550e
2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/ide/ata.c: Use simple vectored CPU macro to select interrupt
model.
2009-10-01 20:56:32 +00:00
Ralf Corsepius
64a1529c26
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/serial/z85c30.c, libchip/serial/ns16550.c,
libchip/serial/mc68681.c: Reflect termios_baud_to_number having been
renamed to rtems_termios_baud_to_number.
2009-09-30 04:02:40 +00:00
Ralf Corsepius
07688ae50a
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/serial/sersupp.h: Remove termios_baud_to_index,
termios_baud_to_number (duplicate prototypes).
Add C++-guards.
Include rtems/termiostypes.h.
2009-09-30 02:44:53 +00:00
Joel Sherrill
439aade0f8
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/network/elnk.c: Convert calls to legacy routine
rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:53:30 +00:00
Joel Sherrill
354fb2e3bf
2009-08-03 Roger Dahlkvist <ruppe@kth.se>
...
* libchip/shmdr/shm_driver.h: nios2 was not accounted for.
2009-08-03 14:23:29 +00:00
Joel Sherrill
0d3b27cda4
2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/ide/ata.c: Remove warning.
2009-07-22 16:00:55 +00:00
Thomas Doerfler
ec5d45053b
code cleanup
2009-07-17 13:53:24 +00:00
Joel Sherrill
84d7499a2b
2009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Eliminate using the
GNU/Linux specific error numbers EBADRQC and ENOTBLK. Switch to
EINVAL and ENOTTY as appropriate.
2009-06-12 17:40:04 +00:00
Chris Johns
b30c618ab1
2009-05-30 Chris Johns <chrisj@rtems.org>
...
* c/src/libchip/ide/ata.c: Fixed the bug that ignored slave
devices on an IDE bus and cleaned up the initialisation register
call.
2009-05-30 04:48:30 +00:00
Joel Sherrill
79269f6e3a
2009-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* 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-11 20:10:25 +00:00
Joel Sherrill
80ab5f46ff
2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/network/if_dc.c: Fixed warnings.
2009-05-06 16:37:32 +00:00
Joel Sherrill
9c2eacafea
2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/rtc/ds1375.c, libchip/rtc/mc146818a.c: Fix warnings. Reformat
as needed.
2009-05-04 00:53:45 +00:00
Chris Johns
92c70b96b6
2009-04-29 Chris Johns <chrisj@rtems.org>
...
* libchip/ide/ata.c: Remove a detection test that fails in qemu.
* libchip/ide/ide_controller.c: Change the status detection and
add a message if the transfer fails. There is currently no error
handle at the IDE drvier level.
2009-04-29 08:36:45 +00:00
Joel Sherrill
a33af586f1
2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
...
PR 1392/bsps
* libchip/i2c/spi-memdrv.c: SPI Memory driver. Fix but where writes
over multiple pages results in extra data being written.
2009-03-12 15:42:51 +00:00
Thomas Doerfler
ca5bcd88a0
PR 1356
...
* libchip/i2c/spi-sd-card.c: Added support for high capacity and MMC
cards.
2009-02-27 11:10:46 +00:00
Joel Sherrill
66913da28a
2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/network/dec21140.c, libchip/network/elnk.c: Make sure this is
enabled on x86.
2009-02-19 19:25:53 +00:00
Joel Sherrill
4c18d8c3d2
2009-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: Fixed
RTEMS_BLKDEV_CAPABILITIES ioctl which caused invalid multiple block
writes. Fixed integer type in device structure.
2009-01-21 18:08:32 +00:00
Joel Sherrill
a26d51590a
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/serial/ns16550.c: Turn on ns16550_process() for
BSP_FEATURE_IRQ_LEGACY case also.
2009-01-05 19:49:23 +00:00
Thomas Doerfler
9814d2ddef
spi-sd-card.c, spi-sd-card.h: removed high-level driver IF, added generic block I/O functions
2008-12-23 08:31:47 +00:00
Ralf Corsepius
dd9cc9f779
Include <errno.h> instead of <sys/errno.h>.
2008-12-22 03:48:52 +00:00
Joel Sherrill
0f4ad5709f
2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/serial/ns16550_p.h: Remove prototype with no implementation.
2008-12-18 21:10:04 +00:00
Joel Sherrill
534c893634
2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/shmdr/dump.c, libchip/shmdr/init.c, libchip/shmdr/send.c,
libchip/shmdr/shm_driver.h: Cleanup and remove variables which
duplicated data.
2008-12-18 17:15:51 +00:00
Ralf Corsepius
69be08eef6
2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/serial/ns16550.c: Add CVS-Id. Fix #define mess.
2008-12-17 12:48:04 +00:00
Joel Sherrill
b0f45d8fc1
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/network/i82586.c, libchip/network/smc91111config.h: Eliminate
all public use of TOD conversion routines.
2008-12-16 21:58:18 +00:00
Ralf Corsepius
d0e2fa3e42
#include <stdint.h> instead of <rtems/stdint.h>.
2008-12-11 08:32:48 +00:00
Thomas Doerfler
9151ec6763
libchip/serial/ns16550.c: Transmit the character in the polled write
...
function within a critical section for printk() compatibility.
2008-11-18 09:20:18 +00:00
Thomas Doerfler
f049983145
Update for status-checks.h changes.
2008-10-10 15:52:41 +00:00
Joel Sherrill
8c0cab0b09
2008-09-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libchip/serial/ns16550.c: Enable interrupt code only for PowerPC or
BSPs that support this feature.
2008-09-23 14:07:19 +00:00
Joel Sherrill
95ef82cb3c
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/serial/ns16550.c: Fix typo.
2008-09-22 21:51:15 +00:00
Joel Sherrill
0fbd231001
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/serial/ns16550.c: Fix typo.
2008-09-22 17:23:14 +00:00
Joel Sherrill
00a2358559
2008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libchip/serial/ns16550.c: Add not supported on arm even though it is
not simple vectored.
2008-09-22 17:02:16 +00:00