Intel D2500CC serial ports

Lev Serebryakov lev at FreeBSD.org
Mon Jul 15 13:23:50 UTC 2013


Hello, John.
You wrote 11 июля 2013 г., 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 == ACPI_EDGE_SENSITIVE && pol == ACPI_ACTIVE_LOW)
JB> +           pol = ACPI_ACTIVE_HIGH;
JB> +#endif
JB>      BUS_CONFIG_INTR(dev, irq, (trig == ACPI_EDGE_SENSITIVE) ?
JB>         INTR_TRIGGER_EDGE : INTR_TRIGGER_LEVEL, (pol == ACPI_ACTIVE_HIGH) ?
JB>         INTR_POLARITY_HIGH : INTR_POLARITY_LOW);
 This patch helps me too! Could it be integrated?


-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-hackers mailing list