Changeset 8a81a73a in mainline
- Timestamp:
- 2009-07-06T21:44:05Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 80a3bd9
- Parents:
- 1757ffce
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/ata_bd/ata_bd.c
r1757ffce r8a81a73a 97 97 98 98 /* Put drives to reset, disable interrupts. */ 99 printf("Reset drives...\n"); 99 printf("Reset drives... "); 100 fflush(stdout); 101 100 102 pio_write_8(&ctl->device_control, DCR_SRST); 101 103 /* FIXME: Find out how to do this properly. */ … … 107 109 } while ((status & SR_BSY) != 0); 108 110 printf("Done\n"); 109 110 printf("Status = 0x%x\n", pio_read_8(&cmd->status));111 111 112 112 (void) drive_identify(0, &disk[0]); … … 150 150 size_t i; 151 151 152 printf("Identify drive %d\n", disk_id); 152 printf("Identify drive %d... ", disk_id); 153 fflush(stdout); 154 153 155 pio_write_8(&cmd->drive_head, ((disk_id != 0) ? DHR_DRV : 0)); 154 156 async_usleep(100); … … 156 158 157 159 status = pio_read_8(&cmd->status); 158 printf("Status = 0x%x\n", status);159 160 160 161 d->present = false;
Note:
See TracChangeset
for help on using the changeset viewer.