applied patches for PR1117/1118/1119/1120

This commit is contained in:
Thomas Doerfler
2006-07-09 10:05:27 +00:00
parent a650ebb1f5
commit c9b005a9d2
28 changed files with 1139 additions and 392 deletions

View File

@@ -1012,6 +1012,7 @@ ata_initialize(rtems_device_major_number major,
char name[ATA_MAX_NAME_LENGTH];
dev_t device;
ata_int_st_t *int_st;
#if defined(ATA_USE_OLD_EXCEPTIONS)
rtems_isr_entry old_isr;
#else
@@ -1045,7 +1046,9 @@ ata_initialize(rtems_device_major_number major,
*/
status = rtems_task_create(
rtems_build_name ('A', 'T', 'A', 'T'),
ATA_DRIVER_TASK_PRIORITY,
((ata_driver_task_priority > 0)
? ata_driver_task_priority
: ATA_DRIVER_TASK_DEFAULT_PRIORITY),
ATA_DRIVER_TASK_STACK_SIZE,
RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_ASR |
RTEMS_INTERRUPT_LEVEL(0),

View File

@@ -41,9 +41,9 @@ rtems_device_driver ata_initialize(
* FIXME: should be configured more easy...
*/
#define ATA_DRIVER_MESSAGE_QUEUE_SIZE 50
#define ATA_DRIVER_TASK_PRIORITY 140
#define ATA_DRIVER_TASK_STACK_SIZE 16*1024
#define ATA_DRIVER_TASK_DEFAULT_PRIORITY 140
extern rtems_task_priority ata_driver_task_priority;
#ifdef __cplusplus
}
#endif