Date: Thu, 27 Apr 2006 01:47:48 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96181 for review Message-ID: <200604270147.k3R1lmMe006201@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96181 Change 96181 by marcel@marcel_nfs on 2006/04/27 01:47:00 Handle the port offset on the Cronyx Omega2-PCI. The offset, though constant and regular doesn't fit in an uint8_t. Affected files ... .. //depot/projects/uart/dev/puc/pucdata.c#33 edit Differences ... ==== //depot/projects/uart/dev/puc/pucdata.c#33 (text+ko) ==== @@ -696,6 +696,10 @@ puc_config_cronyx(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) { + if (cmd == PUC_CFG_GET_OFS) { + *res = port * 0x200; + return (0); + } return (ENXIO); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604270147.k3R1lmMe006201>