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. Tested by: N.J. Mann njm of njm me uk MFC after: 1 week
This commit is contained in:
parent
7512c508df
commit
9c418f51ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222328
@ -1292,6 +1292,12 @@ puc_config_timedia(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user