From owner-freebsd-current@FreeBSD.ORG Fri May 24 19:15:21 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6700D33D for ; Fri, 24 May 2013 19:15:21 +0000 (UTC) (envelope-from weiss@uni-mainz.de) Received: from mailgate-01.zdv.uni-mainz.de (mailgate-01.zdv.Uni-Mainz.DE [IPv6:2001:4c80:40:62d:203:ffff:fe5d:b2f1]) by mx1.freebsd.org (Postfix) with ESMTP id F1F99AAC for ; Fri, 24 May 2013 19:15:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-mainz.de; i=@uni-mainz.de; q=dns/txt; s=ironport; t=1369422921; x=1400958921; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=jtI+OrwriZt2Bd8CrPMIsndEefg+CXZyNolv+ieLAhs=; b=U0J4PMHTK02xtZXQIdeaqRgpxnk1GNvzgYeO43NKNGBEoNU7wCYR9QOG vhU1d1vwL283Q54b+wWXHKW29j+2SngIdIVxxSKSqUX5deDZDOogfnPrr 0zV4M/oe2EXhtwifUDDVjm8o/mqY5sPUn48+a17AadRvmFwbhwoCEy4wm 8=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAFAB27n1EKXgZY/2dsb2JhbABagwjCXoEHFnSCJQWBCwEFAyJWJgEEEwiIBZo6oFKOagKDK2EDiGegFIMPPIFq Received: from e14hub-02.zdv.uni-mainz.de ([10.94.6.88]) by mailgate-01.zdv.uni-mainz.de with ESMTP; 24 May 2013 21:15:18 +0200 Received: from E14MDB-02.zdv.Uni-Mainz.DE ([fe80::1b:21ff:fe65:4560]) by E14HUB-02.zdv.Uni-Mainz.DE ([fe80::21d:d8ff:feb7:1c60%9]) with mapi id 14.03.0123.003; Fri, 24 May 2013 21:15:18 +0200 From: =?iso-8859-1?B?V2Vp3ywgSvxyZ2Vu?= To: "'freebsd-current@freebsd.org'" Subject: Re: Intel D2500CC motherboard and strange RS232/UART behavior Thread-Topic: Re: Intel D2500CC motherboard and strange RS232/UART behavior Thread-Index: Ac5YsK8GrbJmfFWRTual1en78eOLUA== Date: Fri, 24 May 2013 19:15:17 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [134.93.178.81] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 19:15:21 -0000 According to the ACPI of the board, uart0 and uart 2 use IRQ 3 and IRQ (Edge, ActiveLow, Shared, ) {3} uart1 and uart3 use IRQ 4 IRQ (Edge, ActiveLow, Shared, ) {4} ioapic_config_intr is called with trig =3D=3D INTR_TRIGGER_EDGE and pol =3D=3D INTR_POLARITY_LOW. The combinatation of Edge and ActiveLow seems kind of broken. Forcing the polarity in ioapic_config_intr to INTR_POLARITY_HIGH and disabling uart 2 and uart 3 results in two working serial interfaces. So what is the correct fix to this? Regards=20 Juergen Weiss Juergen Weiss |Universitaet Mainz, Zentrum fuer Datenverarbeitung, weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39-2= 6407