svn commit: r198259 - head/sys/dev/dpms

Jung-uk Kim jkim at FreeBSD.org
Mon Oct 19 23:09:39 UTC 2009


Author: jkim
Date: Mon Oct 19 23:09:39 2009
New Revision: 198259
URL: http://svn.freebsd.org/changeset/base/198259

Log:
  Remove a redundant option ROM check, which was never meant to be committed.

Modified:
  head/sys/dev/dpms/dpms.c

Modified: head/sys/dev/dpms/dpms.c
==============================================================================
--- head/sys/dev/dpms/dpms.c	Mon Oct 19 21:54:41 2009	(r198258)
+++ head/sys/dev/dpms/dpms.c	Mon Oct 19 23:09:39 2009	(r198259)
@@ -129,9 +129,8 @@ dpms_identify(driver_t *driver, device_t
 	if (devclass_get_device(dpms_devclass, 0) != NULL)
 		return;
 
-	if ((x86bios_match_device(0xc0000, parent) &&
-	    device_get_flags(parent) != 0) ||
-	    x86bios_get_orm(0xc0000) != NULL)
+	if (x86bios_match_device(0xc0000, parent) &&
+	    device_get_flags(parent) != 0)
 		device_add_child(parent, "dpms", 0);
 }
 


More information about the svn-src-head mailing list