svn commit: r190122 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb pc98/cbus

Takahashi Yoshihiro nyan at FreeBSD.org
Thu Mar 19 20:10:13 PDT 2009


Author: nyan
Date: Fri Mar 20 03:10:12 2009
New Revision: 190122
URL: http://svn.freebsd.org/changeset/base/190122

Log:
  MFC: r189445
  
    Allow syscons to work without any hints.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/pc98/cbus/syscons_cbus.c

Modified: stable/7/sys/pc98/cbus/syscons_cbus.c
==============================================================================
--- stable/7/sys/pc98/cbus/syscons_cbus.c	Fri Mar 20 01:15:50 2009	(r190121)
+++ stable/7/sys/pc98/cbus/syscons_cbus.c	Fri Mar 20 03:10:12 2009	(r190122)
@@ -205,8 +205,10 @@ sc_get_cons_priority(int *unit, int *fla
 			*flags = f;
 		}
 	}
-	if (*unit < 0)
-		return CN_DEAD;
+	if (*unit < 0) {
+		*unit = 0;
+		*flags = 0;
+	}
 	return CN_INTERNAL;
 }
 


More information about the svn-src-all mailing list