summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-13Enable interrupts during open to avoid NULL pointer access in interrupt handler.Thomas Doerfler1-2/+9
2009-10-13Update for block device API change.Thomas Doerfler2-8/+9
2009-10-082009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns5-148/+127
* 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-052009-10-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-7/+19
* 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-012009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-19/+7
* libchip/ide/ata.c: Use simple vectored CPU macro to select interrupt model.
2009-09-302009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-5/+4
* 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-302009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-6/+7
* libchip/serial/sersupp.h: Remove termios_baud_to_index, termios_baud_to_number (duplicate prototypes). Add C++-guards. Include rtems/termiostypes.h.
2009-08-102009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+1
* libchip/network/elnk.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-032009-08-03 Roger Dahlkvist <ruppe@kth.se>Joel Sherrill1-0/+3
* libchip/shmdr/shm_driver.h: nios2 was not accounted for.
2009-07-222009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+2
* libchip/ide/ata.c: Remove warning.
2009-07-17code cleanupThomas Doerfler2-154/+113
2009-06-122009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-3/+3
* 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-05-302009-05-30 Chris Johns <chrisj@rtems.org>Chris Johns1-33/+52
* 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-112009-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* 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-062009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-9/+17
* libchip/network/if_dc.c: Fixed warnings.
2009-05-042009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-254/+268
* libchip/rtc/ds1375.c, libchip/rtc/mc146818a.c: Fix warnings. Reformat as needed.
2009-04-292009-04-29 Chris Johns <chrisj@rtems.org>Chris Johns2-4/+9
* 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-03-122009-03-12 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill1-1/+1
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-02-27 PR 1356Thomas Doerfler1-23/+254
* libchip/i2c/spi-sd-card.c: Added support for high capacity and MMC cards.
2009-02-192009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-2/+2
* libchip/network/dec21140.c, libchip/network/elnk.c: Make sure this is enabled on x86.
2009-01-212009-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2-20/+20
* 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-052009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+4
* libchip/serial/ns16550.c: Turn on ns16550_process() for BSP_FEATURE_IRQ_LEGACY case also.
2008-12-23spi-sd-card.c, spi-sd-card.h: removed high-level driver IF, added generic ↵Thomas Doerfler2-385/+192
block I/O functions
2008-12-22Include <errno.h> instead of <sys/errno.h>.Ralf Corsepius1-1/+1
2008-12-182008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+0
* libchip/serial/ns16550_p.h: Remove prototype with no implementation.
2008-12-182008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-39/+35
* 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-172008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+9
* libchip/serial/ns16550.c: Add CVS-Id. Fix #define mess.
2008-12-162008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-2/+2
* libchip/network/i82586.c, libchip/network/smc91111config.h: Eliminate all public use of TOD conversion routines.
2008-12-11#include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius1-1/+1
2008-11-18libchip/serial/ns16550.c: Transmit the character in the polled writeThomas Doerfler1-34/+29
function within a critical section for printk() compatibility.
2008-10-10 Update for status-checks.h changes.Thomas Doerfler1-126/+126
2008-09-232008-09-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-12/+5
* libchip/serial/ns16550.c: Enable interrupt code only for PowerPC or BSPs that support this feature.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* libchip/serial/ns16550.c: Fix typo.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+3
* libchip/serial/ns16550.c: Fix typo.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* libchip/serial/ns16550.c: Add not supported on arm even though it is not simple vectored.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-3/+9
* libchip/serial/ns16550.c: Not currently supported on architectures with simple vectored interrupt model.
2008-09-22Include required header files. Removed support for old PowerPC exception ↵Thomas Doerfler3-145/+129
handling. Various fixes for interrupt related routines. Added support for BSPs with IRQ extension API.
2008-09-22Include required header files. Some internal functions have now static ↵Thomas Doerfler3-13/+16
linkage type. Added constant qualifier to operations table and read-only function parameters.
2008-09-202008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-0/+10
* libchip/network/dec21140.c, libchip/network/elnk.c: Detect when there is no PCI bus based upon the BSP not having a base address defined. This means this driver cannot be supported on that board.
2008-09-192008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-3/+3
* libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_dc.c: Eliminate vestiges of mpc603e define.
2008-09-08Convert to Unix file format.Ralf Corsepius1-52/+52
2008-09-07Convert to "bool".Ralf Corsepius24-80/+80
2008-09-07Convert to "bool".Ralf Corsepius2-3/+3
2008-09-052008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill6-71/+38
* libchip/Makefile.am, libchip/shmdr/init.c, libchip/shmdr/mpisr.c, libchip/shmdr/poll.c, libchip/shmdr/shm_driver.h: Update shared memory driver to not use the clock ioctl to install a method to poll for input. It now uses a Class API Timer which means we can eliminate this special IOCTL from all clock drivers. * libchip/shmdr/setckvec.c: Removed.
2008-08-302008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+3
* libchip/network/sonic.c: Do not declare a variable just to hold an ignored return value.
2008-08-202008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-41/+45
* libchip/i2c/spi-sd-card.c: Fixed integer conversion warnings.
2008-08-192008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-111/+111
* libchip/display/disp_hcms29xx.c: Initialize softc_ptr to NULL. * libchip/network/dec21140.c, libchip/network/if_dc.c: Use uint32_t.
2008-08-192008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-4/+4
* libchip/display/disp_hcms29xx.c: Do not make these static. They appear to be unused that way.
2008-08-192008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-6/+6
* libchip/shmdr/shm_driver.h: Correct prototypes.
2008-08-192008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-21/+24
* libchip/display/disp_hcms29xx.c: Fixed warnings. Initialized variables and made methods static.