Ralf Corsepius
2d76aa85de
2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
...
PR 1531/newlib
* libchip/network/i82586.c:
Add local copy of ALIGN().
2010-05-31 12:22:38 +00:00
Ralf Corsepius
85936516ee
2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/network/cs8900.c:
Misc. changes to make code 16bit-target compliant.
2010-05-31 12:21:43 +00:00
Ralf Corsepius
bfa3a3e326
2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/network/i82586.c:
Use int32_t instead of int for 16bit-target compliance.
2010-05-31 12:20:17 +00:00
Ralf Corsepius
87347dd1b5
2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libchip/network/open_eth.c:
Misc. changes to make code 16bit-target compliant.
2010-05-31 12:16:43 +00:00
Chris Johns
baf64cdb32
010-05-18 Chris Johns <chrisj@rtems.org>
...
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: PR
1448/filesystem.
2010-05-18 02:12:39 +00:00
Joel Sherrill
51dc695af7
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libchip/network/if_dc.c: Remove warnings.
2010-04-28 13:23:41 +00:00
Joel Sherrill
642c500988
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libchip/serial/mc68681.c, libchip/serial/mc68681_reg.c,
libchip/serial/ns16550.c, libchip/serial/serial.h,
libchip/serial/z85c30.c, libchip/serial/z85c30_reg.c: Use uintptr_t
or intptr_t instead of uint32_t or int32_t.
2010-04-26 00:58:39 +00:00
Joel Sherrill
2b0d72afb8
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libchip/rtc/ds1375-rtc.h, libchip/rtc/ds1375.c,
libchip/rtc/icm7170.c, libchip/rtc/icm7170_reg.c,
libchip/rtc/m48t08_reg.c, libchip/rtc/rtc.h: Use uintptr_t instead of
uint32_t.
2010-04-25 21:18:06 +00:00
Ralf Corsepius
7e72d512fd
Add extern "C".
2010-04-10 02:19:02 +00:00
Thomas Doerfler
3ed964f90d
adapt _write_ functions to new prototype
2010-04-09 22:44:05 +00:00
Joel Sherrill
c2b0f2ca18
2010-04-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libchip/ide/ata.c: Change missed use of ATA_USE_OLD_EXCEPTIONS to
CPU_SIMPLE_VECTORED_INTERRUPTS.
2010-04-08 16:36:13 +00:00
Joel Sherrill
fae3ab4379
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/ide/ata.c: Use correct macro from RTEMS to determine whether
simple or PIC interrupt model.
2010-04-07 15:04:07 +00:00
Ralf Corsepius
ce65cd1726
#include <unistd.h>.
2010-04-02 06:46:48 +00:00
Joel Sherrill
8c5358013e
2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* 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-12 16:27:24 +00:00
Joel Sherrill
39b8611978
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/ide/ide_controller.c: Fix warnings for uninitialized
variable.
2010-03-11 19:17:39 +00:00
Joel Sherrill
8a3a92dcfb
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libchip/network/i82586.c: Fix warnings for ctype methods.
2010-03-11 19:13:04 +00:00
Chris Johns
37c0822dc2
2010-02-19 Chris Johns <chrisj@rtems.org>
...
* libchip/ide/ide_controller.c: Create the devices as block
devices.
2010-02-19 03:19:12 +00:00
Thomas Doerfler
de592aa6f1
tqm8xx BSP fixes
2010-01-19 09:11:34 +00:00
Thomas Doerfler
5c587596f0
libblock API update
2010-01-19 09:10:03 +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
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