summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2004-10-28 18:47:13 +0000
committermickey <mickey@openbsd.org>2004-10-28 18:47:13 +0000
commita238e916706859abe7fa88c6e69e51870ab384c8 (patch)
tree7711d12713b235d516d848e4bbf8c8e71fd18dc5
parentprint our ether address when attaching like other drivers (diff)
downloadwireguard-openbsd-a238e916706859abe7fa88c6e69e51870ab384c8.tar.xz
wireguard-openbsd-a238e916706859abe7fa88c6e69e51870ab384c8.zip
wrong paste from lasi
-rw-r--r--sys/arch/hppa/dev/wax.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/wax.c b/sys/arch/hppa/dev/wax.c
index 24f24830bf7..20c02907089 100644
--- a/sys/arch/hppa/dev/wax.c
+++ b/sys/arch/hppa/dev/wax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wax.c,v 1.8 2004/09/15 20:11:28 mickey Exp $ */
+/* $OpenBSD: wax.c,v 1.9 2004/10/28 18:47:13 mickey Exp $ */
/*
* Copyright (c) 1998-2003 Michael Shalayeff
@@ -97,8 +97,7 @@ waxattach(parent, self, aux)
bus_space_handle_t ioh;
int s, in;
- if (bus_space_map(ca->ca_iot, ca->ca_hpa + 0xc000,
- IOMOD_HPASIZE, 0, &ioh)) {
+ if (bus_space_map(ca->ca_iot, ca->ca_hpa, IOMOD_HPASIZE, 0, &ioh)) {
printf(": can't map IO space\n");
return;
}