summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/puc/pucdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/pucdata.c b/sys/dev/puc/pucdata.c
index 17cdf80..10cd688 100644
--- a/sys/dev/puc/pucdata.c
+++ b/sys/dev/puc/pucdata.c
@@ -1110,7 +1110,7 @@ puc_config_timedia(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
*res = (port == 1 || port == 3) ? 8 : 0;
return (0);
case PUC_CFG_GET_RID:
- *res = (port > 3) ? port - 2 : port >> 1;
+ *res = 0x10 + ((port > 3) ? port - 2 : port >> 1);
return (0);
case PUC_CFG_GET_TYPE:
*res = PUC_TYPE_SERIAL;
OpenPOWER on IntegriCloud