NetBSD-Bugs archive

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

Re: port-cobalt/44292: -current kernels do not work on (my) cobalt qube 2 since one (1!) year



Reverting part of src/sys/dev/ic/com.c rev 1.298 seems to fix the problem.
(201007200000Z works, 201007210000Z doesn't)

Needs to use device properties to enable prescaler?
More initialization is required?
---

Index: com.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/com.c,v
retrieving revision 1.298
retrieving revision 1.297
diff -u -p -r1.298 -r1.297
--- com.c       20 Jul 2010 06:17:20 -0000      1.298
+++ com.c       19 Apr 2010 18:24:26 -0000      1.297
@@ -465,8 +465,6 @@ com_attach_subr(struct com_softc *sc)
                                        sc->sc_fifolen = 0;
                                } else {
                                        SET(sc->sc_hwflags, COM_HW_FLOW);
-                                       SET(sc->sc_mcr, MCR_PRESCALE);
-                                       sc->sc_frequency /= 4;
                                        sc->sc_fifolen = 32;
                                }
                        } else

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index