diff options
author | harti <harti@FreeBSD.org> | 2003-07-17 13:43:16 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-17 13:43:16 +0000 |
commit | e9cbd38c2dcad75f14a4cce044e553babda869de (patch) | |
tree | 384cf940b6589289fe08e3f08aa2851b8c1251b2 /sys/dev/hatm | |
parent | ff245040e373412b011b977bceff2d7ad1bf881a (diff) | |
download | FreeBSD-src-e9cbd38c2dcad75f14a4cce044e553babda869de.zip FreeBSD-src-e9cbd38c2dcad75f14a4cce044e553babda869de.tar.gz |
The card resets the S/Uni chip when it is resetted. Therefor
we need to reinitialize the PHY after the call to reset when
stopping the interface.
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r-- | sys/dev/hatm/if_hatm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c index 34f1727..e1704e7 100644 --- a/sys/dev/hatm/if_hatm.c +++ b/sys/dev/hatm/if_hatm.c @@ -2296,6 +2296,11 @@ hatm_stop(struct hatm_softc *sc) (void)hatm_reset(sc); /* + * Card resets the SUNI when resetted, so re-initialize it + */ + utopia_reset(&sc->utopia); + + /* * Give any waiters on closing a VCC a chance. They will stop * to wait if they see that IFF_RUNNING disappeared. */ |