diff options
author | 2007-05-29 05:54:00 +0000 | |
---|---|---|
committer | 2007-05-29 05:54:00 +0000 | |
commit | a364ff8280d8043d57ceb40a0b10a19b5390f6c4 (patch) | |
tree | 5d80088cb85e693b1a65d1b38d3c43ef08822497 /sys/dev/ipmi.c | |
parent | IMP is dead and nothing uses NETISR_IMP so remove it from the netisr list. (diff) | |
download | wireguard-openbsd-a364ff8280d8043d57ceb40a0b10a19b5390f6c4.tar.xz wireguard-openbsd-a364ff8280d8043d57ceb40a0b10a19b5390f6c4.zip |
work around really bad softc abuse by marco; proper fixes for this will
be part of a later rototilling
Diffstat (limited to '')
-rw-r--r-- | sys/dev/ipmi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c index d8d6260d8a2..f85891147f5 100644 --- a/sys/dev/ipmi.c +++ b/sys/dev/ipmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi.c,v 1.55 2007/04/13 18:57:56 reyk Exp $ */ +/* $OpenBSD: ipmi.c,v 1.56 2007/05/29 05:54:00 deraadt Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave @@ -1663,6 +1663,7 @@ ipmi_match(struct device *parent, void *match, void *aux) return (0); /* Map registers */ + sc->sc_dev.dv_xname = "ipmi0"; /* XXX local softc is wrong wrong wrong */ if (ipmi_map_regs(&sc, ia) == 0) { sc.sc_if->probe(&sc); |