Changeset 3741506 in rtems


Ignore:
Timestamp:
Sep 29, 2005, 11:50:47 AM (15 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Children:
dc4bd19
Parents:
8747cac1
Message:

2005-09-29 Thomas Doerfler <Thomas.Doerfler@…>

PR649/filesystem

  • ide/idecfg.c, configure.ac: added configuration items for primary/secondary
Location:
c/src/lib/libbsp/i386/pc386
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    r8747cac1 r3741506  
     12005-09-29      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
     2
     3        PR649/filesystem
     4        * ide/idecfg.c: added configuration items for primary/secondary
     5        IDE interface
     6
     7        * configure.ac: added configuration items for primary/secondary
     8        IDE interface
     9       
    1102005-09-01      Joel Sherrill <joel@OARcorp.com>
    211
  • c/src/lib/libbsp/i386/pc386/configure.ac

    r8747cac1 r3741506  
    1616
    1717RTEMS_CHECK_NETWORKING
     18
     19RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1])
     20RTEMS_BSPOPTS_HELP([IDE_USE_PRIMARY_INTERFACE],
     21[Determines, whether RTEMS will try to use the primary IDE interface.
     22 Disable it, if:
     23 - you have no primary IDE interface
     24 - or you have no disk attached to this interface 
     25 - or you do not want to access disks attached to this interface])
     26
     27RTEMS_BSPOPTS_SET([IDE_USE_SECONDARY_INTERFACE],[*],[0])
     28RTEMS_BSPOPTS_HELP([IDE_USE_SECONDARY_INTERFACE],
     29[Determines, whether RTEMS will try to use the primary IDE interface.
     30 Enable it, if:
     31 - you have a secondary IDE interface
     32 - and you have at least one disk attached to this interface 
     33 - and you do want to access disks attached to this interface])
    1834
    1935## if this is an i386, does gas have good code16 support?
  • c/src/lib/libbsp/i386/pc386/ide/idecfg.c

    r8747cac1 r3741506  
    3737/* IDE controllers Table */
    3838ide_controller_bsp_table_t IDE_Controller_Table[] = {
    39   {"/dev/ide",
     39#if IDE_USE_PRIMARY_INTERFACE
     40  {"/dev/ide0",
    4041   IDE_STD, /* standard IDE controller */
    4142   &pc386_ide_ctrl_fns,
     
    4647   NULL
    4748  }
     49#if IDE_USE_SECONDARY_INTERFACE
     50  , /* colon only neede when bith interfaces present */
     51#endif
     52#endif
     53#if IDE_USE_SECONDARY_INTERFACE
     54  {"/dev/ide1",
     55   IDE_STD, /* standard IDE controller */
     56   &pc386_ide_ctrl_fns,
     57   NULL, /* probe for IDE standard registers */
     58   FALSE, /* not (yet) initialized */
     59   0x170,  /* base I/O address for second IDE controller */
     60   FALSE,0, /* not (yet) interrupt driven */
     61   NULL
     62  }
     63#endif
    4864};
    4965
Note: See TracChangeset for help on using the changeset viewer.