forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libchip/ide/ata.c: Use correct macro from RTEMS to determine whether
|
||||
|
||||
@@ -1153,7 +1153,7 @@ rtems_ata_initialize(rtems_device_major_number major,
|
||||
for (i = 0; i < (2 * IDE_CTRL_MAX_MINOR_NUMBER); i++)
|
||||
ata_devs[i].device = ATA_UNDEFINED_VALUE;
|
||||
|
||||
#if defined(ATA_USE_OLD_EXCEPTIONS)
|
||||
#if defined(CPU_SIMPLE_VECTORED_INTERRUPTS)
|
||||
/* prepare ATA driver for handling interrupt driven devices */
|
||||
for (i = 0; i < ATA_MAX_RTEMS_INT_VEC_NUMBER; i++)
|
||||
rtems_chain_initialize_empty(&ata_int_vec[i]);
|
||||
|
||||
Reference in New Issue
Block a user