diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-05-16 14:57:48 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-05-16 14:57:48 +0000 |
| commit | c1163871f67af791c1c221424d55372c970f9d79 (patch) | |
| tree | f30f3d9acd620a45428e737154ffbf35635df26b /sys/dev/puc | |
| parent | 13d4b2b0bc5c704133d289c30ed94dde5f0bb51f (diff) | |
Notes
Diffstat (limited to 'sys/dev/puc')
| -rw-r--r-- | sys/dev/puc/pucdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/pucdata.c b/sys/dev/puc/pucdata.c index 829600ad90c1..7c7248be9fdc 100644 --- a/sys/dev/puc/pucdata.c +++ b/sys/dev/puc/pucdata.c @@ -1116,7 +1116,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 = 0x10 + ((port > 3) ? port - 2 : port >> 1); + *res = 0x10 + ((port > 3) ? port - 2 : port >> 1) * 4; return (0); case PUC_CFG_GET_TYPE: *res = PUC_TYPE_SERIAL; |
