VirtualBox

Ignore:
Timestamp:
Mar 17, 2014 12:00:51 AM (11 years ago)
Author:
vboxsync
Message:

vboxpci: convert some more printk() to vbpci_printk()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c

    r50782 r50797  
    293293        if (pci_reset_function(pIns->pPciDev))
    294294        {
    295             printk(KERN_DEBUG "vboxpci: pci_reset_function() failed\n");
     295            vbpci_printk(KERN_DEBUG, pIns->pPciDev,
     296                         "pci_reset_function() failed\n");
    296297            rc = VERR_INTERNAL_ERROR;
    297298        }
     
    539540        uint8_t            uDevFn = (pIns->HostPciAddress) & 0xff;
    540541
    541         printk(KERN_DEBUG "vboxpci: reattaching old host driver %s\n", pIns->szPrevDriver);
     542        vbpci_printk(KERN_DEBUG, pPciDev,
     543                     "reattaching old host driver %s\n", pIns->szPrevDriver);
    542544        /*
    543545         * Now perform kernel analog of:
     
    767769    int              error;
    768770
    769     printk(KERN_DEBUG "linux vboxPciOsDevMapRegion: reg=%d start=%llx size=%lld\n", iRegion, RegionStart, u64RegionSize);
     771    vbpci_printk(KERN_DEBUG, pPciDev, "reg=%d start=%llx size=%lld\n",
     772                 iRegion, RegionStart, u64RegionSize);
    770773
    771774    if (!pPciDev)
     
    774777    if (iRegion < 0 || iRegion > 6)
    775778    {
    776         printk(KERN_DEBUG "vboxPciOsDevMapRegion: invalid region: %d\n", iRegion);
     779        vbpci_printk(KERN_DEBUG, pPciDev, "invalid region %d\n", iRegion);
    777780        return VERR_INVALID_PARAMETER;
    778781    }
     
    808811    if (!result)
    809812    {
    810         printk(KERN_DEBUG "cannot ioremap_nocache\n");
     813        vbpci_printk(KERN_DEBUG, pPciDev, "ioremap_nocache() failed\n");
    811814        pci_release_region(pPciDev, iRegion);
    812815        return VERR_MAP_FAILED;
Note: See TracChangeset for help on using the changeset viewer.

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