Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix an argument passes to auixp_intr().
details: https://anonhg.NetBSD.org/src/rev/f81c2516d48e
branches: trunk
changeset: 973519:f81c2516d48e
user: isaki <isaki%NetBSD.org@localhost>
date: Fri Jul 03 12:39:54 2020 +0000
description:
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 8f90c93a946e -r f81c2516d48e sys/dev/pci/auixp.c
--- a/sys/dev/pci/auixp.c Fri Jul 03 11:03:42 2020 +0000
+++ b/sys/dev/pci/auixp.c Fri Jul 03 12:39:54 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: auixp.c,v 1.49 2020/02/29 06:34:30 isaki Exp $ */
+/* $NetBSD: auixp.c,v 1.50 2020/07/03 12:39:54 isaki Exp $ */
/*
* Copyright (c) 2004, 2005 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.49 2020/02/29 06:34:30 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.50 2020/07/03 12:39:54 isaki Exp $");
#include <sys/types.h>
#include <sys/errno.h>
@@ -1116,7 +1116,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