VirtualBox

Changeset 63355 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Aug 12, 2016 1:26:00 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109989
Message:

VBoxGuest-netbsd.c: handle changed pci_intr_string(9) signature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c

    r63350 r63355  
    407407    struct pci_attach_args *pa = vboxguest->pa;
    408408    const char *intrstr;
     409#if __NetBSD_Prereq__(6, 99, 39)
    409410    char intstrbuf[100];
    410 
     411#endif
    411412    if (pci_intr_map(pa, &vboxguest->ih)) {
    412413        aprint_error_dev(vboxguest->sc_dev, "couldn't map interrupt.\n");
    413414        return VERR_DEV_IO_ERROR;
    414415    }
    415     intrstr = pci_intr_string(vboxguest->pa->pa_pc, vboxguest->ih,
    416             intstrbuf, sizeof(intstrbuf));
     416    intrstr = pci_intr_string(vboxguest->pa->pa_pc, vboxguest->ih
     417#if __NetBSD_Prereq__(6, 99, 39)
     418                              , intstrbuf, sizeof(intstrbuf)
     419#endif
     420                              );
    417421    aprint_normal_dev(vboxguest->sc_dev, "interrupting at %s\n", intrstr);
    418422    vboxguest->pfnIrqHandler = pci_intr_establish(vboxguest->pa->pa_pc, vboxguest->ih, IPL_BIO, VBoxGuestNetBSDISR, vboxguest);
Note: See TracChangeset for help on using the changeset viewer.

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