Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2013 19:15:17 +0000
From:      =?iso-8859-1?B?V2Vp3ywgSvxyZ2Vu?= <weiss@uni-mainz.de>
To:        "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org>
Subject:   Re: Intel D2500CC motherboard and strange RS232/UART behavior
Message-ID:  <D6240E9DA4CE444399B1D9D8A57CBDD988DA22A6@E14MDB-02.zdv.Uni-Mainz.DE>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6240E9DA4CE444399B1D9D8A57CBDD988DA22A6>