Date: Sun, 29 Jun 2003 16:29:18 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 33859 for review Message-ID: <200306292329.h5TNTIfm017537@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=33859 Change 33859 by marcel@marcel_nfs on 2003/06/29 16:28:24 We only know about a single channel. We expect to have 2 independent UART drivers attach to dual channel UARTs. Affected files ... .. //depot/projects/uart/dev/uart/uart_dev_sab82532.c#2 edit Differences ... ==== //depot/projects/uart/dev/uart/uart_dev_sab82532.c#2 (text+ko) ==== @@ -131,7 +131,7 @@ "sab82532 class", sab82532_methods, sizeof(struct sab82532_softc), - .uc_range = 128, + .uc_range = 64, .uc_rclk = 1843200 }; @@ -142,7 +142,7 @@ const char *ch, *vstr; /* Assume the address range is naturally aligned. */ - ch = ((sc->sc_bas.bsh & 0x7f) == 0) ? "A" : "B"; + ch = ((sc->sc_bas.bsh & 0x40) == 0) ? "A" : "B"; switch (uart_getreg(&sc->sc_bas, SAB_VSTR) & SAB_VSTR_VMASK) { case SAB_VSTR_V_1: vstr = "v1"; break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306292329.h5TNTIfm017537>