Changeset 89ac5513 in mainline for uspace/srv/bd/ata_bd/ata_bd.h


Ignore:
Timestamp:
2013-06-23T19:54:53Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddb1922
Parents:
3abf0760 (diff), 96cbd18 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.h

    r3abf0760 r89ac5513  
    9595typedef struct {
    9696        bool present;
     97        struct ata_ctrl *ctrl;
    9798
    9899        /** Device type */
     
    122123} disk_t;
    123124
     125/** ATA controller */
     126typedef struct ata_ctrl {
     127        /** I/O base address of the command registers */
     128        uintptr_t cmd_physical;
     129        /** I/O base address of the control registers */
     130        uintptr_t ctl_physical;
     131
     132        /** Command registers */
     133        ata_cmd_t *cmd;
     134        /** Control registers */
     135        ata_ctl_t *ctl;
     136
     137        /** Per-disk state. */
     138        disk_t disk[MAX_DISKS];
     139} ata_ctrl_t;
     140
    124141#endif
    125142
Note: See TracChangeset for help on using the changeset viewer.