VirtualBox

儲存庫 vbox 的更動 50176


忽略:
時間撮記:
2014-1-23 上午11:22:18 (11 年 以前)
作者:
vboxsync
訊息:

BIOS: Let the compiler merge info/debug strings better in SCSI module.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/PC/BIOS/scsi.c

    r50091 r50176  
    185185    device_id = VBOX_GET_SCSI_DEVICE(bios_dsk->drqp.dev_id);
    186186    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);
    188188
    189189    count    = bios_dsk->drqp.nsect;
     
    234234    device_id = VBOX_GET_SCSI_DEVICE(bios_dsk->drqp.dev_id);
    235235    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);
    237237
    238238    count    = bios_dsk->drqp.nsect;
     
    600600    {
    601601        /* Detected - Enumerate attached devices. */
    602         DBG_SCSI("scsi_init: BusLogic SCSI adapter detected\n");
     602        DBG_SCSI("%s: BusLogic SCSI adapter detected\n", __func__);
    603603        outb(BUSLOGIC_BIOS_IO_PORT+VBSCSI_REGISTER_RESET, 0);
    604604        scsi_enumerate_attached_devices(BUSLOGIC_BIOS_IO_PORT);
     
    606606    else
    607607    {
    608         DBG_SCSI("scsi_init: BusLogic SCSI adapter not detected\n");
     608        DBG_SCSI("%s: BusLogic SCSI adapter not detected\n", __func__);
    609609    }
    610610
     
    616616    {
    617617        /* 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__);
    619619        outb(LSILOGIC_BIOS_IO_PORT+VBSCSI_REGISTER_RESET, 0);
    620620        scsi_enumerate_attached_devices(LSILOGIC_BIOS_IO_PORT);
     
    622622    else
    623623    {
    624         DBG_SCSI("scsi_init: LSI Logic SCSI adapter not detected\n");
     624        DBG_SCSI("%s: LSI Logic SCSI adapter not detected\n", __func__);
    625625    }
    626626
     
    632632    {
    633633        /* 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__);
    635635        outb(LSILOGIC_SAS_BIOS_IO_PORT+VBSCSI_REGISTER_RESET, 0);
    636636        scsi_enumerate_attached_devices(LSILOGIC_SAS_BIOS_IO_PORT);
     
    638638    else
    639639    {
    640         DBG_SCSI("scsi_init: LSI Logic SAS adapter not detected\n");
     640        DBG_SCSI("%s: LSI Logic SAS adapter not detected\n", __func__);
    641641    }
    642642}
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette