Ignore:
Timestamp:
Oct 8, 2009, 7:25:15 AM (11 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 5, master
Children:
578e6fe
Parents:
c1fc5d4
Message:

2009-10-08 Chris Johns <chrisj@…>

  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/ide/ide_controller.c

    rc1fc5d4 r7357f566  
    9393void
    9494ide_controller_read_data_block(rtems_device_minor_number  minor,
    95                                uint16_t                   block_size,
     95                               uint32_t                   block_size,
    9696                               rtems_blkdev_sg_buffer    *bufs,
    9797                               uint32_t                  *cbuf,
     
    122122void
    123123ide_controller_write_data_block(rtems_device_minor_number  minor,
    124                                 uint16_t                   block_size,
     124                                uint32_t                   block_size,
    125125                                rtems_blkdev_sg_buffer    *bufs,
    126126                                uint32_t                  *cbuf,
Note: See TracChangeset for help on using the changeset viewer.