diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-10-21 20:30:33 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-10-21 20:30:33 +0000 |
commit | 6409c7eacab6f726167d284d647b07db2acebac0 (patch) | |
tree | 590afae0987eec3288c370b03e3af4de262d05db /sys | |
parent | 2e544be2fc2cbc1d47cf9a9e18d61acd6675a282 (diff) |
ugly hack to make the 21145 work without manual media setting.
many many many thanks to nick@, who booted no less then 8 kernels for me today
while hacking on that (and this includes going downstairs to the basement
and up again 8 times...)
ok jason@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/dc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index 8493b0d7e81..2228f613a6b 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.52 2002/10/20 16:46:27 henning Exp $ */ +/* $OpenBSD: dc.c,v 1.53 2002/10/21 20:30:32 henning Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1432,6 +1432,9 @@ void dc_reset(sc) CSR_WRITE_4(sc, DC_WATCHDOG, 0); } + if (sc->dc_type == DC_TYPE_21145) + dc_setcfg(sc, IFM_10_T); + return; } |