diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-04-22 12:33:20 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-04-22 12:33:20 +0000 |
commit | 1bdf74cb7a4f599244b5b93b16f632884f10ff29 (patch) | |
tree | 4518b1ce4d247ce9d7407f5006ab39f33e5a1ac3 /sys/arch/sparc/dev/spif.c | |
parent | 2ef62ddf16ef89ace0e3612f98a1ec9ebd87bf4f (diff) |
fix device selector, spif isn't an DV_NET, missing sbus_establish
Diffstat (limited to 'sys/arch/sparc/dev/spif.c')
-rw-r--r-- | sys/arch/sparc/dev/spif.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/spif.c b/sys/arch/sparc/dev/spif.c index c402fa7f5e4..9502c7a717e 100644 --- a/sys/arch/sparc/dev/spif.c +++ b/sys/arch/sparc/dev/spif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spif.c,v 1.5 1999/04/18 03:04:24 jason Exp $ */ +/* $OpenBSD: spif.c,v 1.6 1999/04/22 12:33:18 jason Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -111,7 +111,7 @@ struct cfattach spif_ca = { }; struct cfdriver spif_cd = { - NULL, "spif", DV_IFNET + NULL, "spif", DV_DULL }; struct cfattach stty_ca = { @@ -220,6 +220,8 @@ spifattach(parent, self, aux) sc->sc_softih.ih_fun = spifsoftintr; sc->sc_softih.ih_arg = sc; intr_establish(PIL_TTY, &sc->sc_softih); + + sbus_establish(&sc->sc_sd, &sc->sc_dev); } int |