Changeset 96cbd18 in mainline for uspace/srv/bd/ata_bd/ata_bd.h
- Timestamp:
- 2013-06-21T18:54:29Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 89ac5513, ccf282f
- Parents:
- 7901ac8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/ata_bd/ata_bd.h
r7901ac8 r96cbd18 95 95 typedef struct { 96 96 bool present; 97 struct ata_ctrl *ctrl; 97 98 98 99 /** Device type */ … … 122 123 } disk_t; 123 124 125 /** ATA controller */ 126 typedef 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 124 141 #endif 125 142
Note:
See TracChangeset
for help on using the changeset viewer.