Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/pci/if_bge.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/pci/if_bge.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.277.4.7 retrieving revision 1.277.4.8 diff -u -p -r1.277.4.7 -r1.277.4.8 --- src/sys/dev/pci/if_bge.c 2016/07/09 20:25:04 1.277.4.7 +++ src/sys/dev/pci/if_bge.c 2016/10/05 20:55:42 1.277.4.8 @@ -1,4 +1,4 @@ -/* $NetBSD: if_bge.c,v 1.277.4.7 2016/07/09 20:25:04 skrll Exp $ */ +/* $NetBSD: if_bge.c,v 1.277.4.8 2016/10/05 20:55:42 skrll Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -79,7 +79,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.277.4.7 2016/07/09 20:25:04 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.277.4.8 2016/10/05 20:55:42 skrll Exp $"); #include #include @@ -3744,7 +3744,7 @@ alloc_retry: sc->bge_intrhand = pci_intr_establish(pc, sc->bge_pihp[0], IPL_NET, bge_intr, sc); if (sc->bge_intrhand == NULL) { - intr_type = pci_intr_type(sc->bge_pihp[0]); + intr_type = pci_intr_type(pc, sc->bge_pihp[0]); aprint_error_dev(sc->bge_dev,"unable to establish %s\n", (intr_type == PCI_INTR_TYPE_MSI) ? "MSI" : "INTx"); pci_intr_release(pc, sc->bge_pihp, 1);