diff options
Diffstat (limited to 'sys/dev/ic/sti.c')
-rw-r--r-- | sys/dev/ic/sti.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c index c37821d849f..1427b2e4fad 100644 --- a/sys/dev/ic/sti.c +++ b/sys/dev/ic/sti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sti.c,v 1.36 2004/09/14 22:27:04 mickey Exp $ */ +/* $OpenBSD: sti.c,v 1.37 2004/11/03 19:18:47 mickey Exp $ */ /* * Copyright (c) 2000-2003 Michael Shalayeff @@ -131,6 +131,8 @@ sti_attach_common(sc) struct sti_cfg *cc; int error, size, i; + sc->sc_devtype = bus_space_read_1(sc->memt, sc->romh, 3); + /* { extern int pmapdebug; pmapdebug = 0xfffff; } */ dd = &sc->sc_dd; if (sc->sc_devtype == STI_DEVTYPE1) { |