Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Set RTK_ENABLE flag when it attached. This fixed...



details:   https://anonhg.NetBSD.org/src/rev/5337dfe69f25
branches:  trunk
changeset: 542451:5337dfe69f25
user:      kanaoka <kanaoka%NetBSD.org@localhost>
date:      Wed Jan 29 12:57:36 2003 +0000

description:
Set RTK_ENABLE flag when it attached. This fixed multicast problem.
Found by FUKAUMI Naoki <naoki%fukaumi.org@localhost>.

diffstat:

 sys/dev/pci/if_rtk_pci.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 88662c094a54 -r 5337dfe69f25 sys/dev/pci/if_rtk_pci.c
--- a/sys/dev/pci/if_rtk_pci.c  Wed Jan 29 12:46:22 2003 +0000
+++ b/sys/dev/pci/if_rtk_pci.c  Wed Jan 29 12:57:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_rtk_pci.c,v 1.17 2002/12/23 02:12:49 tsutsui Exp $  */
+/*     $NetBSD: if_rtk_pci.c,v 1.18 2003/01/29 12:57:36 kanaoka Exp $  */
 
 /*
  * Copyright (c) 1997, 1998
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rtk_pci.c,v 1.17 2002/12/23 02:12:49 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rtk_pci.c,v 1.18 2003/01/29 12:57:36 kanaoka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -255,6 +255,7 @@
        printf("%s: interrupting at %s\n", sc->sc_dev.dv_xname, intrstr);
 
        sc->sc_dmat = pa->pa_dmat;
+       sc->sc_flags |= RTK_ENABLED;
 
        rtk_attach(sc);
 }



Home | Main Index | Thread Index | Old Index