Changeset 50176 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jan 23, 2014 11:22:18 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/scsi.c
r50091 r50176 185 185 device_id = VBOX_GET_SCSI_DEVICE(bios_dsk->drqp.dev_id); 186 186 if (device_id > BX_MAX_SCSI_DEVICES) 187 BX_PANIC(" scsi_read_sectors: device_id out of range %d\n", device_id);187 BX_PANIC("%s: device_id out of range %d\n", __func__, device_id); 188 188 189 189 count = bios_dsk->drqp.nsect; … … 234 234 device_id = VBOX_GET_SCSI_DEVICE(bios_dsk->drqp.dev_id); 235 235 if (device_id > BX_MAX_SCSI_DEVICES) 236 BX_PANIC(" scsi_write_sectors: device_id out of range %d\n", device_id);236 BX_PANIC("%s: device_id out of range %d\n", __func__, device_id); 237 237 238 238 count = bios_dsk->drqp.nsect; … … 600 600 { 601 601 /* Detected - Enumerate attached devices. */ 602 DBG_SCSI(" scsi_init: BusLogic SCSI adapter detected\n");602 DBG_SCSI("%s: BusLogic SCSI adapter detected\n", __func__); 603 603 outb(BUSLOGIC_BIOS_IO_PORT+VBSCSI_REGISTER_RESET, 0); 604 604 scsi_enumerate_attached_devices(BUSLOGIC_BIOS_IO_PORT); … … 606 606 else 607 607 { 608 DBG_SCSI(" scsi_init: BusLogic SCSI adapter not detected\n");608 DBG_SCSI("%s: BusLogic SCSI adapter not detected\n", __func__); 609 609 } 610 610 … … 616 616 { 617 617 /* Detected - Enumerate attached devices. */ 618 DBG_SCSI(" scsi_init: LSI Logic SCSI adapter detected\n");618 DBG_SCSI("%s: LSI Logic SCSI adapter detected\n", __func__); 619 619 outb(LSILOGIC_BIOS_IO_PORT+VBSCSI_REGISTER_RESET, 0); 620 620 scsi_enumerate_attached_devices(LSILOGIC_BIOS_IO_PORT); … … 622 622 else 623 623 { 624 DBG_SCSI(" scsi_init: LSI Logic SCSI adapter not detected\n");624 DBG_SCSI("%s: LSI Logic SCSI adapter not detected\n", __func__); 625 625 } 626 626 … … 632 632 { 633 633 /* Detected - Enumerate attached devices. */ 634 DBG_SCSI(" scsi_init: LSI Logic SAS adapter detected\n");634 DBG_SCSI("%s: LSI Logic SAS adapter detected\n", __func__); 635 635 outb(LSILOGIC_SAS_BIOS_IO_PORT+VBSCSI_REGISTER_RESET, 0); 636 636 scsi_enumerate_attached_devices(LSILOGIC_SAS_BIOS_IO_PORT); … … 638 638 else 639 639 { 640 DBG_SCSI(" scsi_init: LSI Logic SAS adapter not detected\n");640 DBG_SCSI("%s: LSI Logic SAS adapter not detected\n", __func__); 641 641 } 642 642 }
Note:
See TracChangeset
for help on using the changeset viewer.