https://bugzilla.novell.com/show_bug.cgi?id=375836 User bjorn.helgaas@hp.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375836#c34 --- Comment #34 from Bjorn Helgaas <bjorn.helgaas@hp.com> 2008-05-21 10:30:32 MST --- Created an attachment (id=217354) --> (https://bugzilla.novell.com/attachment.cgi?id=217354) keep parallel device from using IRQ 14 I don't like the patch in comment #29. If the BIOS leaves a device disabled, I think it is perfectly legal for the OS to assign resources and enable the device. If BIOS wants to hide the device completely from the OS, it should either remove the device from the ACPI namespace or make its _STA return 0 (not present). Based on the following dmesg lines: ata_piix 0000:00:1f.2: version 2.12 ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 18 (level, low) -> IRQ 18 ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ] PCI: Setting latency timer of device 0000:00:1f.2 to 64 scsi0 : ata_piix scsi1 : ata_piix ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x21f0 irq 14 ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x21f8 irq 15 I think we're using ata_pci_sff_activate_host(), the normal PCI IRQ is 18, but the controller is in legacy mode, so we use ATA_PRIMARY_IRQ == 14. I don't know how IDE decides whether to leave a controller in legacy mode where it will always use IRQ 14, or to use it in native mode, where I assume it would use normal PCI interrupts. I think we just have to assume that the IDE controller may require IRQ 14, so we can't use it for anything else. We might have to just remove IRQ 14 from the list of possible IRQs for the parallel port. I suppose the BIOS included IRQ 14 as an option because the hardware allows that configuration, and the port probably works fine on IRQ 14 as long as you don't use the IDE controller (or use it in native mode). We could use something like this patch, but we might want to make it smarter or more specific. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.