Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Pass bus_space_map() an address then a size, rat...
details: https://anonhg.NetBSD.org/src/rev/aaa5f1112f7f
branches: trunk
changeset: 533383:aaa5f1112f7f
user: rafal <rafal%NetBSD.org@localhost>
date: Sat Jun 29 05:20:15 2002 +0000
description:
Pass bus_space_map() an address then a size, rather than size twice, so this
has a hope of working.
diffstat:
sys/dev/isa/if_le_isa.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9953320194ba -r aaa5f1112f7f sys/dev/isa/if_le_isa.c
--- a/sys/dev/isa/if_le_isa.c Sat Jun 29 04:36:17 2002 +0000
+++ b/sys/dev/isa/if_le_isa.c Sat Jun 29 05:20:15 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le_isa.c,v 1.29 2002/01/07 21:47:08 thorpej Exp $ */
+/* $NetBSD: if_le_isa.c,v 1.30 2002/06/29 05:20:15 rafal Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le_isa.c,v 1.29 2002/01/07 21:47:08 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le_isa.c,v 1.30 2002/06/29 05:20:15 rafal Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -322,7 +322,7 @@
printf(": %s Ethernet\n", p->name);
- if (bus_space_map(iot, ia->ia_io[0].ir_size, p->iosize, 0, &ioh))
+ if (bus_space_map(iot, ia->ia_io[0].ir_addr, p->iosize, 0, &ioh))
panic("%s: can't map io", sc->sc_dev.dv_xname);
/*
Home |
Main Index |
Thread Index |
Old Index