Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2013 17:23:44 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Robert Ames <robertames@hotmail.com>
Subject:   Re: Intel D2500CC serial ports
Message-ID:  <782445112.20130715172344@serebryakov.spb.ru>
In-Reply-To: <201307111014.42903.jhb@freebsd.org>
References:  <BLU177-W9398FC7BF05E2069A4961C9700@phx.gbl> <201307111014.42903.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, John.
You wrote 11 =D0=B8=D1=8E=D0=BB=D1=8F 2013 =D0=B3., 18:14:42:

JB> Maybe try this:
JB> --- //depot/user/jhb/acpipci/dev/acpica/acpi_resource.c     2011-07-22 =
17:59:31.000000000 0000
JB> +++ /home/jhb/work/p4/acpipci/dev/acpica/acpi_resource.c        2011-07=
-22 17:59:31.000000000 0000
JB> @@ -141,6 +141,10 @@
JB>      default:
JB>         panic("%s: bad resource type %u", __func__, res->Type);
JB>      }
JB> +#if defined(__amd64__) || defined(__i386__)
JB> +    if (irq < 16 && trig =3D=3D ACPI_EDGE_SENSITIVE && pol =3D=3D ACPI=
_ACTIVE_LOW)
JB> +           pol =3D ACPI_ACTIVE_HIGH;
JB> +#endif
JB>      BUS_CONFIG_INTR(dev, irq, (trig =3D=3D ACPI_EDGE_SENSITIVE) ?
JB>         INTR_TRIGGER_EDGE : INTR_TRIGGER_LEVEL, (pol =3D=3D ACPI_ACTIVE=
_HIGH) ?
JB>         INTR_POLARITY_HIGH : INTR_POLARITY_LOW);
 This patch helps me too! Could it be integrated?


--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




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