Tue Jul 7 10:46:27 2020 UTC ()
Pull up following revision(s) (requested by isaki in ticket #983):

	sys/dev/pci/auixp.c: revision 1.50

Fix an argument passes to auixp_intr().

This is rest of rev 1.39 (split device_t/softc) in 2012.
Problem reported and tested by Riccardo Mottola.


(martin)
diff -r1.47.2.1 -r1.47.2.2 src/sys/dev/pci/auixp.c

cvs diff -r1.47.2.1 -r1.47.2.2 src/sys/dev/pci/auixp.c (expand / switch to context diff)
--- src/sys/dev/pci/auixp.c 2020/03/21 15:31:50 1.47.2.1
+++ src/sys/dev/pci/auixp.c 2020/07/07 10:46:27 1.47.2.2
@@ -1,4 +1,4 @@
-/* $NetBSD: auixp.c,v 1.47.2.1 2020/03/21 15:31:50 martin Exp $ */
+/* $NetBSD: auixp.c,v 1.47.2.2 2020/07/07 10:46:27 martin Exp $ */
 
 /*
  * Copyright (c) 2004, 2005 Reinoud Zandijk <reinoud@netbsd.org>
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.47.2.1 2020/03/21 15:31:50 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.47.2.2 2020/07/07 10:46:27 martin Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -1123,7 +1123,7 @@
 
 	/* establish interrupt routine hookup at IPL_AUDIO level */
 	sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_AUDIO, auixp_intr,
-	    self, device_xname(self));
+	    sc, device_xname(self));
 	if (sc->sc_ih == NULL) {
 		aprint_error_dev(sc->sc_dev, "can't establish interrupt");
 		if (intrstr != NULL)