Hi,
this patch uses ACPI and PNPBIOS to obtain
configuration data for parport and serial:
http://home.t-online.de/home/gunther.mayer/gmdiff-lx242-parport+acpi+pnpbios-0.1
NEW:
- more generic API (pci_dev) for ACPI and PNPBIOS
- serial ports detected (incl. infrared)
- parport uses irq and dma values
BEWARE:
- You must compile and run a new kernel (because TSS_FIRST was moved!)
Usage:
It is working fine modular (acpi builtin):
insmod pnpbios
insmod parport
insmod parport_pc
insmod serial
Shows here:
Apr 8 20:25:47 linux kernel: PnP: PNP BIOS installation structure at 0xc00fc240
Apr 8 20:25:47 linux kernel: PnP: PNP BIOS version 1.0, entry at f0000:c270, dseg at f0000
Apr 8 20:26:07 linux kernel: parport found PNPBIOS PNP0400 at io=0278,0678 irq=5 dma=-1
Apr 8 20:26:07 linux kernel: parport0: PC-style at 0x278 (0x678), irq 5, using FIFO
[PCSPP,TRISTATE,COMPAT,EPP,ECP]
Apr 8 20:26:07 linux kernel: parport found ACPI PNP0401 at io=0278,0778 irq=5 dma=4
(Note: My ASUS bios gives some bogus values for ACPI parport!)
Apr 8 20:26:52 linux kernel: Serial driver version 5.05 (2000-12-13) with
MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP PNPBIOS ACPIPNP enabled
Apr 8 20:26:52 linux kernel: serial found PNPBIOS PNP0501 at io=02e8 irq=10
Apr 8 20:26:52 linux kernel: serial found PNPBIOS PNP0510 at io=02f8 irq=3, IRDA mode
Apr 8 20:26:52 linux kernel: serial found ACPI PNP0501 at io=02e8 irq=10
Apr 8 20:26:52 linux kernel: serial found ACPI PNP0510 at io=02f8 irq=3, IRDA mode
Apr 8 20:26:52 linux kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Apr 8 20:26:52 linux kernel: ttyS03 at 0x02e8 (irq = 3) is a 16550A
(Note: serial doesn't currently the IRQ info. This will be fixed later!)
Regards, Gunther
-- 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 : Sun Apr 08 2001 - 15:13:45 EDT