Advertisement
Guest User

Untitled

a guest
Apr 5th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.78 KB | None | 0 0
  1. diff -Nur original/drivers/pci/quirks.c patch/drivers/pci/quirks.c
  2. --- original/drivers/pci/quirks.c   2015-06-03 06:44:09.510692797 +0000
  3. +++ patch/drivers/pci/quirks.c  2015-06-03 07:27:03.434601912 +0000
  4. @@ -594,9 +594,16 @@
  5.     u8 enable;
  6.  
  7.     pci_read_config_byte(dev, ICH_ACPI_CNTL, &enable);
  8. +   // this reservation creates a port conflict with ACPI
  9. +   // consiquently the led_ss4200 driver oops on load.
  10. +   // acpi=off works, but breaks ACPI
  11. +   // Reducing this quirk into a warning.
  12.     if (enable & ICH6_ACPI_EN)
  13. +       dev_info(&dev->dev, "ss4200_acpi skip quirk_io_region to avoid ACPI conflict\n");
  14. +   /*
  15.         quirk_io_region(dev, ICH_PMBASE, 128, PCI_BRIDGE_RESOURCES,
  16.                  "ICH6 ACPI/GPIO/TCO");
  17. +   */
  18.  
  19.     pci_read_config_byte(dev, ICH6_GPIO_CNTL, &enable);
  20.     if (enable & ICH6_GPIO_EN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement