summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable interrupts during open to avoid NULL pointer access in interrupt handler.Thomas Doerfler2009-10-131-2/+9
|
* Update for block device API change.Thomas Doerfler2009-10-132-8/+9
|
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-085-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-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-051-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-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-011-19/+7
| | | | | * libchip/ide/ata.c: Use simple vectored CPU macro to select interrupt model.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-303-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-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-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-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-101-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-03 Roger Dahlkvist <ruppe@kth.se>Joel Sherrill2009-08-031-0/+3
| | | | * libchip/shmdr/shm_driver.h: nios2 was not accounted for.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-221-0/+2
| | | | * libchip/ide/ata.c: Remove warning.
* code cleanupThomas Doerfler2009-07-172-154/+113
|
* 2009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-122-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-30 Chris Johns <chrisj@rtems.org>Chris Johns2009-05-301-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-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-111-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-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-061-9/+17
| | | | * libchip/network/if_dc.c: Fixed warnings.
* 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-042-254/+268
| | | | | * libchip/rtc/ds1375.c, libchip/rtc/mc146818a.c: Fix warnings. Reformat as needed.
* 2009-04-29 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-292-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-12 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2009-03-121-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.
* PR 1356Thomas Doerfler2009-02-271-23/+254
| | | | | * libchip/i2c/spi-sd-card.c: Added support for high capacity and MMC cards.
* 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-192-2/+2
| | | | | * libchip/network/dec21140.c, libchip/network/elnk.c: Make sure this is enabled on x86.
* 2009-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-01-212-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-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-01-051-4/+4
| | | | | * libchip/serial/ns16550.c: Turn on ns16550_process() for BSP_FEATURE_IRQ_LEGACY case also.
* spi-sd-card.c, spi-sd-card.h: removed high-level driver IF, added generic ↵Thomas Doerfler2008-12-232-385/+192
| | | | block I/O functions
* Include <errno.h> instead of <sys/errno.h>.Ralf Corsepius2008-12-221-1/+1
|
* 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-181-2/+0
| | | | * libchip/serial/ns16550_p.h: Remove prototype with no implementation.
* 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-184-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-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-12-171-1/+9
| | | | * libchip/serial/ns16550.c: Add CVS-Id. Fix #define mess.
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-162-2/+2
| | | | | * libchip/network/i82586.c, libchip/network/smc91111config.h: Eliminate all public use of TOD conversion routines.
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-111-1/+1
|
* libchip/serial/ns16550.c: Transmit the character in the polled writeThomas Doerfler2008-11-181-34/+29
| | | | function within a critical section for printk() compatibility.
* Update for status-checks.h changes.Thomas Doerfler2008-10-101-126/+126
|
* 2008-09-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-09-231-12/+5
| | | | | * libchip/serial/ns16550.c: Enable interrupt code only for PowerPC or BSPs that support this feature.
* 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-221-1/+1
| | | | * libchip/serial/ns16550.c: Fix typo.
* 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-221-3/+3
| | | | * libchip/serial/ns16550.c: Fix typo.
* 2008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-221-1/+1
| | | | | * libchip/serial/ns16550.c: Add not supported on arm even though it is not simple vectored.
* 2008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-221-3/+9
| | | | | * libchip/serial/ns16550.c: Not currently supported on architectures with simple vectored interrupt model.
* Include required header files. Removed support for old PowerPC exception ↵Thomas Doerfler2008-09-223-145/+129
| | | | handling. Various fixes for interrupt related routines. Added support for BSPs with IRQ extension API.
* Include required header files. Some internal functions have now static ↵Thomas Doerfler2008-09-223-13/+16
| | | | linkage type. Added constant qualifier to operations table and read-only function parameters.
* 2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-202-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-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-193-3/+3
| | | | | * libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_dc.c: Eliminate vestiges of mpc603e define.
* Convert to Unix file format.Ralf Corsepius2008-09-081-52/+52
|
* Convert to "bool".Ralf Corsepius2008-09-0724-80/+80
|
* Convert to "bool".Ralf Corsepius2008-09-072-3/+3
|
* 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-056-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-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-301-2/+3
| | | | | * libchip/network/sonic.c: Do not declare a variable just to hold an ignored return value.
* 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-201-41/+45
| | | | * libchip/i2c/spi-sd-card.c: Fixed integer conversion warnings.
* 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-193-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-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-191-4/+4
| | | | | * libchip/display/disp_hcms29xx.c: Do not make these static. They appear to be unused that way.
* 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-191-6/+6
| | | | * libchip/shmdr/shm_driver.h: Correct prototypes.
* 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-191-21/+24
| | | | | * libchip/display/disp_hcms29xx.c: Fixed warnings. Initialized variables and made methods static.