Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 01:34:46 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336326 - head/sys/dev/ichiic
Message-ID:  <201807160134.w6G1YkNR038303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Mon Jul 16 01:34:45 2018
New Revision: 336326
URL: https://svnweb.freebsd.org/changeset/base/336326

Log:
  Remove MODULE_PNP_INFO for ig4(4) driver
  
  ig4(4) does not support suspend/resume but present on the hardware where
  such functionality is critical, like laptops. Remove PNP info to avoid
  breaking suspend/resume on the systems where ig4(4) load is not explicitly
  requested by the user.
  
  PR:             229791
  Reported by:    Ali Abdallah

Modified:
  head/sys/dev/ichiic/ig4_pci.c

Modified: head/sys/dev/ichiic/ig4_pci.c
==============================================================================
--- head/sys/dev/ichiic/ig4_pci.c	Mon Jul 16 01:07:28 2018	(r336325)
+++ head/sys/dev/ichiic/ig4_pci.c	Mon Jul 16 01:34:45 2018	(r336326)
@@ -228,5 +228,7 @@ DRIVER_MODULE_ORDERED(ig4iic_pci, pci, ig4iic_pci_driv
 MODULE_DEPEND(ig4iic_pci, pci, 1, 1, 1);
 MODULE_DEPEND(ig4iic_pci, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);
 MODULE_VERSION(ig4iic_pci, 1);
-MODULE_PNP_INFO("W32:vendor/device", pci, ig4iic_pci, ig4iic_pci_devices,
-    sizeof(ig4iic_pci_devices[0]), nitems(ig4iic_pci_devices));
+/*
+ * Loading this module breaks suspend/resume on laptops
+ * Do not add MODULE_PNP_INFO until it's impleneted
+ */ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807160134.w6G1YkNR038303>