From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 30 17:25:34 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 78B72479 for ; Sun, 30 Jun 2013 17:25:34 +0000 (UTC) (envelope-from robertames@hotmail.com) Received: from blu0-omc2-s18.blu0.hotmail.com (blu0-omc2-s18.blu0.hotmail.com [65.55.111.93]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7251645 for ; Sun, 30 Jun 2013 17:25:33 +0000 (UTC) Received: from BLU177-W9 ([65.55.111.73]) by blu0-omc2-s18.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 30 Jun 2013 10:24:27 -0700 X-TMN: [3dYevcWZTuxQKn/B4RUEJdBkaYDyziU/] X-Originating-Email: [robertames@hotmail.com] Message-ID: From: Robert Ames To: "freebsd-hackers@freebsd.org" Subject: Intel D2500CC serial ports Date: Sun, 30 Jun 2013 13:24:27 -0400 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 30 Jun 2013 17:24:27.0938 (UTC) FILETIME=[AC877820:01CE75B6] X-Mailman-Approved-At: Sun, 30 Jun 2013 18:25:23 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2013 17:25:34 -0000 I just picked up an Intel D2500CCE motherboard and was disappointed=0A= to find the serial ports didn't work.=A0 There has been discussion=0A= about this problem here:=0A= =0A= http://lists.freebsd.org/pipermail/freebsd-current/2013-April/040897.html= =0A= http://lists.freebsd.org/pipermail/freebsd-current/2013-May/042088.html=0A= =0A= As seen in the second link=2C Juergen Weiss was able to work around=0A= the problem.=A0 This patch (for 8.4-RELEASE amd64) makes all 4 serial=0A= ports functional.=0A= =0A= --- /usr/src/sys/amd64/amd64/io_apic.c.orig 2013-06-02 13:23:05.000000000 -= 0500=0A= +++ /usr/src/sys/amd64/amd64/io_apic.c=A0=A0=A0=A0=A0 2013-06-28 18:52:03.0= 00000000 -0500=0A= @@ -452=2C6 +452=2C10 @@=0A= =A0=A0=A0=A0=A0=A0=A0 KASSERT(!(trig =3D=3D INTR_TRIGGER_CONFORM || pol =3D= =3D INTR_POLARITY_CONFORM)=2C=0A= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ("%s: Conforming trigger or polarity\n"= =2C __func__))=3B=0A= =A0=0A= +=A0=A0=A0=A0=A0=A0 if (trig =3D=3D INTR_TRIGGER_EDGE && pol =3D=3D INTR_PO= LARITY_LOW) {=0A= +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 pol =3D INTR_POLARITY_HIGH=3B= =0A= +=A0=A0=A0=A0=A0=A0 }=0A= +=0A= =A0=A0=A0=A0=A0=A0=A0 /*=0A= =A0=A0=A0=A0=A0=A0=A0=A0 * EISA interrupts always use active high polarity= =2C so don't allow=0A= =A0=A0=A0=A0=A0=A0=A0=A0 * them to be set to active low.=0A= =0A= However this is just a work around and not a general solution.=A0 Does=0A= anyone have suggestions on a fix that could be committed so the=0A= serial ports for this board will work out of the box? =