artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27b369c
)
Don't try to read the "regs" propety; it's pointless.
author
kettenis
<kettenis@openbsd.org>
Fri, 11 Jul 2008 13:47:20 +0000
(13:47 +0000)
committer
kettenis
<kettenis@openbsd.org>
Fri, 11 Jul 2008 13:47:20 +0000
(13:47 +0000)
sys/arch/sparc64/dev/cmp.c
patch
|
blob
|
history
diff --git
a/sys/arch/sparc64/dev/cmp.c
b/sys/arch/sparc64/dev/cmp.c
index
bcc9c3b
..
353c790
100644
(file)
--- a/
sys/arch/sparc64/dev/cmp.c
+++ b/
sys/arch/sparc64/dev/cmp.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cmp.c,v 1.
1 2008/06/10 00:02:09
kettenis Exp $ */
+/* $OpenBSD: cmp.c,v 1.
2 2008/07/11 13:47:20
kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
@@
-67,8
+67,6
@@
cmp_attach(struct device *parent, struct device *self, void *aux)
bzero(&nma, sizeof(nma));
nma.ma_node = node;
nma.ma_name = buf;
- getprop(node, "reg", sizeof(*nma.ma_reg),
- &nma.ma_nreg, (void **)&nma.ma_reg);
config_found(self, &nma, cmp_print);
}
}