diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2006-02-26 22:23:16 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2006-02-26 22:23:16 +0000 |
commit | 2c7dc6b646fc93142c1a5e139dbc74c5a31f44e0 (patch) | |
tree | e34ff86960284561a09e1fc52b73b00227bb5e74 /sys/arch/mac68k/dev | |
parent | d8d9f33503c194476682261423590552aa80683b (diff) |
skip common macfb attachment on unknown cards
ok miod@ deraadt@
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/grf_mv.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mac68k/dev/grf_mv.c b/sys/arch/mac68k/dev/grf_mv.c index b851cd50957..d9c289f1bc4 100644 --- a/sys/arch/mac68k/dev/grf_mv.c +++ b/sys/arch/mac68k/dev/grf_mv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_mv.c,v 1.31 2006/01/22 18:37:56 miod Exp $ */ +/* $OpenBSD: grf_mv.c,v 1.32 2006/02/26 22:23:15 martin Exp $ */ /* $NetBSD: grf_nubus.c,v 1.62 2001/01/22 20:27:02 briggs Exp $ */ /* @@ -361,10 +361,9 @@ macfb_nubus_attach(struct device *parent, struct device *self, void *aux) sc->sc_dev.dv_xname); break; default: - printf("%s: Unknown video card ID 0x%x --", + printf("%s: Unknown video card ID 0x%x\n", sc->sc_dev.dv_xname, sc->card_id); - printf(" Not installing interrupt routine.\n"); - break; + goto bad; } /* Perform common video attachment. */ |