Changeset 46240 in vbox for trunk/src/VBox/Devices/PC/BIOS
- Timestamp:
- May 23, 2013 3:02:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/scsi.c
r44528 r46240 180 180 target_id = bios_dsk->scsidev[device_id].target_id; 181 181 182 DBG_SCSI("%s: reading %u sectors, device %d, target %d\n", __func__, 183 count, device_id, bios_dsk->scsidev[device_id].target_id); 184 182 185 rc = scsi_cmd_data_in(io_base, target_id, (void __far *)&cdb, 10, 183 186 bios_dsk->drqp.buffer, (count * 512L)); … … 188 191 bios_dsk->drqp.trsfbytes = count * 512L; 189 192 } 193 DBG_SCSI("%s: transferred %u sectors\n", __func__, bios_dsk->drqp.nsect); 190 194 191 195 return rc; … … 224 228 target_id = bios_dsk->scsidev[device_id].target_id; 225 229 230 DBG_SCSI("%s: writing %u sectors, device %d, target %d\n", __func__, 231 count, device_id, bios_dsk->scsidev[device_id].target_id); 232 226 233 rc = scsi_cmd_data_out(io_base, target_id, (void __far *)&cdb, 10, 227 234 bios_dsk->drqp.buffer, (count * 512L)); … … 232 239 bios_dsk->drqp.trsfbytes = (count * 512L); 233 240 } 241 DBG_SCSI("%s: transferred %u sectors\n", __func__, bios_dsk->drqp.nsect); 234 242 235 243 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.