Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/sys/dev/pci Pull up following revision(s) (requested by i...



details:   https://anonhg.NetBSD.org/src/rev/29a8fbe01b45
branches:  netbsd-9
changeset: 963976:29a8fbe01b45
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 07 10:46:27 2020 +0000

description:
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.

diffstat:

 sys/dev/pci/auixp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0cf537d595ac -r 29a8fbe01b45 sys/dev/pci/auixp.c
--- a/sys/dev/pci/auixp.c       Tue Jul 07 10:43:00 2020 +0000
+++ b/sys/dev/pci/auixp.c       Tue Jul 07 10:46:27 2020 +0000
@@ -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@localhost>
@@ -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)



Home | Main Index | Thread Index | Old Index