Changeset eaf4e2fc in mainline
- Timestamp:
- 2019-12-18T20:34:41Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04b7f2f
- Parents:
- 9e45a41
- git-author:
- Jiri Svoboda <jiri@…> (2019-12-18 18:56:37)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-12-18 20:34:41)
- Location:
- uspace/drv/block/ata_bd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/ata_bd/ata_bd.c
r9e45a41 reaf4e2fc 163 163 164 164 for (i = 0; i < MAX_DISKS; i++) { 165 ddf_msg(LVL_ NOTE, "Identify drive %d...", i);165 ddf_msg(LVL_DEBUG, "Identify drive %d...", i); 166 166 167 167 rc = disk_init(ctrl, &ctrl->disk[i], i); … … 170 170 disk_print_summary(&ctrl->disk[i]); 171 171 } else { 172 ddf_msg(LVL_ NOTE, "Not found.");172 ddf_msg(LVL_DEBUG, "Not found."); 173 173 } 174 174 } … … 192 192 if (n_disks == 0) { 193 193 ddf_msg(LVL_WARN, "No disks detected."); 194 rc = E IO;194 rc = ENOENT; 195 195 goto error; 196 196 } … … 368 368 if (rc == EOK) { 369 369 /* Success. It's a register (non-packet) device. */ 370 ddf_msg(LVL_ NOTE, "ATA register-only device found.");370 ddf_msg(LVL_DEBUG, "ATA register-only device found."); 371 371 d->dev_type = ata_reg_dev; 372 372 } else if (rc == EIO) { -
uspace/drv/block/ata_bd/main.c
r9e45a41 reaf4e2fc 134 134 135 135 rc = ata_ctrl_init(ctrl, &res); 136 if (rc == ENOENT) 137 goto error; 138 136 139 if (rc != EOK) { 137 140 ddf_msg(LVL_ERROR, "Failed initializing ATA controller.");
Note:
See TracChangeset
for help on using the changeset viewer.