From owner-p4-projects@FreeBSD.ORG Thu Apr 27 01:53:57 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7326016A411; Thu, 27 Apr 2006 01:53:57 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5047916A40E for ; Thu, 27 Apr 2006 01:53:57 +0000 (UTC) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D397243D45 for ; Thu, 27 Apr 2006 01:53:56 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3R1ruW1009739 for ; Thu, 27 Apr 2006 01:53:56 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3R1rumv009736 for perforce@freebsd.org; Thu, 27 Apr 2006 01:53:56 GMT (envelope-from marcel@freebsd.org) Date: Thu, 27 Apr 2006 01:53:56 GMT Message-Id: <200604270153.k3R1rumv009736@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Cc: Subject: PERFORCE change 96182 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 01:53:57 -0000 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); }