[PARPORT] Patch(Linux-2.4.2): Parport ACPI PNP0400/0401 Autodetect

From: Gunther Mayer (Gunther.Mayer@t-online.de)
Date: Sat Mar 03 2001 - 15:25:42 EST

  • Next message: bad_knee: "Re: [PARPORT] paride not reporting correct drive size"
  • Next message: bad_knee: "Re: [PARPORT] I/O hang with epat in kernel 2.4"

    Hi,
    this patch autodetects LPT ressources.

    This eliminates the need to specify irq=x
    and dma=y manually for parport. This has always
    been annoying and error-prone for users!
     
    Any experiences with calling a pre-ACPI PNPBIOS
    to get these hints, too (I assume Windows found irq
    and dma without much effort already for a long time) ?

    Please test and report.

    Regards, Gunther

    P.S.

    If successful you get:

    20:24:05 linux kernel: parport: PNP0401 found by ACPI: io=0278,0778 irq=5 dma=1
      Note: 0x778 is a negligible bug on my "ASUS P3B-F ACPI BIOS Revision 1007 Beta 001"

    When setting to non-ECP in BIOS setup:

    20:17:54 linux kernel: parport: PNP0400 found by ACPI: io=0x0378 irq=7 dma=No


    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Sat Mar 03 2001 - 14:42:01 EST