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 reversed arguments to bus_space_unmap.
details: https://anonhg.NetBSD.org/src/rev/4a58e2a0bc22
branches: trunk
changeset: 547243:4a58e2a0bc22
user: fvdl <fvdl%NetBSD.org@localhost>
date: Thu May 15 18:04:08 2003 +0000
description:
Fix reversed arguments to bus_space_unmap.
diffstat:
sys/dev/pci/amr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7a069473a9b1 -r 4a58e2a0bc22 sys/dev/pci/amr.c
--- a/sys/dev/pci/amr.c Thu May 15 17:52:32 2003 +0000
+++ b/sys/dev/pci/amr.c Thu May 15 18:04:08 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amr.c,v 1.10 2003/05/14 11:22:55 ad Exp $ */
+/* $NetBSD: amr.c,v 1.11 2003/05/15 18:04:08 fvdl Exp $ */
/*-
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amr.c,v 1.10 2003/05/14 11:22:55 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amr.c,v 1.11 2003/05/15 18:04:08 fvdl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -514,7 +514,7 @@
if ((fl & AMRF_PCI_INTR) != 0)
pci_intr_disestablish(amr->amr_pc, amr->amr_ih);
if ((fl & AMRF_PCI_REGS) != 0)
- bus_space_unmap(amr->amr_ioh, amr->amr_iot, amr->amr_ios);
+ bus_space_unmap(amr->amr_iot, amr->amr_ioh, amr->amr_ios);
}
/*
Home |
Main Index |
Thread Index |
Old Index