forked from Imagelibrary/rtems
2005-09-29 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 649/bsps
* ide/idecfg.c, configure.ac:
added configuration items for primary/secondary IDE interface
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2005-09-29 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
|
||||||
|
|
||||||
|
* ide/idecfg.c: added configuration items for primary/secondary
|
||||||
|
IDE interface
|
||||||
|
|
||||||
|
* configure.ac: added configuration items for primary/secondary
|
||||||
|
IDE interface
|
||||||
|
|
||||||
2005-09-19 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-09-19 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* 3c509/3c509.c: Remove [$]Log.
|
* 3c509/3c509.c: Remove [$]Log.
|
||||||
|
|||||||
@@ -18,6 +18,22 @@ RTEMS_PROG_CCAS
|
|||||||
|
|
||||||
RTEMS_CHECK_NETWORKING
|
RTEMS_CHECK_NETWORKING
|
||||||
|
|
||||||
|
RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1])
|
||||||
|
RTEMS_BSPOPTS_HELP([IDE_USE_PRIMARY_INTERFACE],
|
||||||
|
[Determines, whether RTEMS will try to use the primary IDE interface.
|
||||||
|
Disable it, if:
|
||||||
|
- you have no primary IDE interface
|
||||||
|
- or you have no disk attached to this interface
|
||||||
|
- or you do not want to access disks attached to this interface])
|
||||||
|
|
||||||
|
RTEMS_BSPOPTS_SET([IDE_USE_SECONDARY_INTERFACE],[*],[0])
|
||||||
|
RTEMS_BSPOPTS_HELP([IDE_USE_SECONDARY_INTERFACE],
|
||||||
|
[Determines, whether RTEMS will try to use the primary IDE interface.
|
||||||
|
Enable it, if:
|
||||||
|
- you have a secondary IDE interface
|
||||||
|
- and you have at least one disk attached to this interface
|
||||||
|
- and you do want to access disks attached to this interface])
|
||||||
|
|
||||||
## if this is an i386, does gas have good code16 support?
|
## if this is an i386, does gas have good code16 support?
|
||||||
RTEMS_I386_GAS_CODE16
|
RTEMS_I386_GAS_CODE16
|
||||||
AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"])
|
AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"])
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ extern ide_ctrl_fns_t pc386_ide_ctrl_fns;
|
|||||||
|
|
||||||
/* IDE controllers Table */
|
/* IDE controllers Table */
|
||||||
ide_controller_bsp_table_t IDE_Controller_Table[] = {
|
ide_controller_bsp_table_t IDE_Controller_Table[] = {
|
||||||
{"/dev/ide",
|
#if IDE_USE_PRIMARY_INTERFACE
|
||||||
|
{"/dev/ide0",
|
||||||
IDE_STD, /* standard IDE controller */
|
IDE_STD, /* standard IDE controller */
|
||||||
&pc386_ide_ctrl_fns,
|
&pc386_ide_ctrl_fns,
|
||||||
NULL, /* probe for IDE standard registers */
|
NULL, /* probe for IDE standard registers */
|
||||||
@@ -44,6 +45,21 @@ ide_controller_bsp_table_t IDE_Controller_Table[] = {
|
|||||||
FALSE,0, /* not (yet) interrupt driven */
|
FALSE,0, /* not (yet) interrupt driven */
|
||||||
NULL
|
NULL
|
||||||
}
|
}
|
||||||
|
#if IDE_USE_SECONDARY_INTERFACE
|
||||||
|
, /* colon only needed when both interfaces present */
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if IDE_USE_SECONDARY_INTERFACE
|
||||||
|
{"/dev/ide1",
|
||||||
|
IDE_STD, /* standard IDE controller */
|
||||||
|
&pc386_ide_ctrl_fns,
|
||||||
|
NULL, /* probe for IDE standard registers */
|
||||||
|
FALSE, /* not (yet) initialized */
|
||||||
|
0x170, /* base I/O address for second IDE controller */
|
||||||
|
FALSE,0, /* not (yet) interrupt driven */
|
||||||
|
NULL
|
||||||
|
}
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Number of rows in IDE_Controller_Table */
|
/* Number of rows in IDE_Controller_Table */
|
||||||
|
|||||||
Reference in New Issue
Block a user