diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-16 16:30:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-16 16:30:57 +0000 |
commit | a716d24079738b3f7e47bec9ac88fdaae2186578 (patch) | |
tree | 04989ac644bace3074ed4699f58a64379900a6d6 /sys/dev | |
parent | 3aa34aecbfe0231b2369a71b53f33d87d2550a5d (diff) |
bus_space_handle_t and bus_space_tag_t being opaque, they can not necessarily
be assigned ``0'' (in egprobe() upon failure).
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/if_eg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/isa/if_eg.c b/sys/dev/isa/if_eg.c index c5b4376c726..ee180e55528 100644 --- a/sys/dev/isa/if_eg.c +++ b/sys/dev/isa/if_eg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eg.c,v 1.28 2006/03/25 22:41:44 djm Exp $ */ +/* $OpenBSD: if_eg.c,v 1.29 2006/04/16 16:30:56 miod Exp $ */ /* $NetBSD: if_eg.c,v 1.26 1996/05/12 23:52:27 mycroft Exp $ */ /* @@ -370,7 +370,6 @@ egprobe(parent, match, aux) return (1); lose: - sc->sc_bst = sc->sc_bsh = 0; bus_space_unmap(bst, bsh, EG_IO_PORTS); return (0); } |