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_ctrl_cfg.h

    rc1fc5d4 r7357f566  
    7474     * functions calls
    7575     */
    76     void  (*ctrl_read_block)(int minor, uint16_t   block_size,
     76    void  (*ctrl_read_block)(int minor, uint32_t   block_size,
    7777                             rtems_blkdev_sg_buffer *bufs, uint32_t   *cbuf,
    7878                             uint32_t   *pos);
    79     void  (*ctrl_write_block)(int minor, uint16_t   block_size,
     79    void  (*ctrl_write_block)(int minor, uint32_t   block_size,
    8080                              rtems_blkdev_sg_buffer *bufs, uint32_t   *cbuf,
    8181                              uint32_t   *pos);
Note: See TracChangeset for help on using the changeset viewer.