Date: Thu, 27 Apr 2006 01:53:56 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96182 for review Message-ID: <200604270153.k3R1rumv009736@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96182 Change 96182 by marcel@marcel_nfs on 2006/04/27 01:53:13 Handle the non-regular RIDs of the 1S2P Siig cards. Affected files ... .. //depot/projects/uart/dev/puc/pucdata.c#34 edit Differences ... ==== //depot/projects/uart/dev/puc/pucdata.c#34 (text+ko) ==== @@ -905,6 +905,13 @@ puc_config_siig(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) { + if (cmd == PUC_CFG_GET_RID) { + switch (port) { + case 0: *res = 0x10; return (0); + case 1: *res = 0x14; return (0); + case 2: *res = 0x1c; return (0); + } + } return (ENXIO); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604270153.k3R1rumv009736>