]> Zhao Yanbai Git Server - minix.git/commitdiff
different rtl8169 shutdown code
authorDavid van Moolenbroek <david@minix3.org>
Wed, 26 May 2010 11:22:06 +0000 (11:22 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 26 May 2010 11:22:06 +0000 (11:22 +0000)
drivers/rtl8169/rtl8169.c

index 60c77b1675ae0d5cbd5c122a5c0de335b51c013f..a1ff8108c5494ddab4185e20a8cd097bcb498743 100644 (file)
@@ -388,7 +388,7 @@ PRIVATE void sef_cb_signal_handler(int signo)
 
        rep = &re_state;
        if (rep->re_mode == REM_ENABLED)
-               rl_outb(rep->re_base_port, RL_CR, 0);
+               rl_outb(rep->re_base_port, RL_CR, RL_CR_RST);
 
        exit(0);
 }