svn commit: r222879 - stable/8/sys/dev/puc
John Baldwin
jhb at FreeBSD.org
Wed Jun 8 21:32:15 UTC 2011
Author: jhb
Date: Wed Jun 8 21:32:14 2011
New Revision: 222879
URL: http://svn.freebsd.org/changeset/base/222879
Log:
MFC 222328:
For Timedia multiport serial adapters, the first two ports use a SUN1889
which uses a non-standard clock (* 8) while any additional ports use
SUN1699 chips which use a standard clock.
Modified:
stable/8/sys/dev/puc/pucdata.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/dev/puc/pucdata.c
==============================================================================
--- stable/8/sys/dev/puc/pucdata.c Wed Jun 8 21:29:33 2011 (r222878)
+++ stable/8/sys/dev/puc/pucdata.c Wed Jun 8 21:32:14 2011 (r222879)
@@ -1292,6 +1292,12 @@ puc_config_timedia(struct puc_softc *sc,
uint16_t subdev;
switch (cmd) {
+ case PUC_CFG_GET_CLOCK:
+ if (port < 2)
+ *res = DEFAULT_RCLK * 8;
+ else
+ *res = DEFAULT_RCLK;
+ return (0);
case PUC_CFG_GET_DESC:
snprintf(desc, sizeof(desc),
"Timedia technology %d Port Serial", (int)sc->sc_cfg_data);
More information about the svn-src-stable
mailing list