svn commit: r277163 - head/sys/dev/cardbus

Warner Losh imp at FreeBSD.org
Wed Jan 14 05:41:32 UTC 2015


Author: imp
Date: Wed Jan 14 05:41:31 2015
New Revision: 277163
URL: https://svnweb.freebsd.org/changeset/base/277163

Log:
  Add a rather obnoxious warning if you don't have NEW_PCIB defined
  since it's a total crap shoot if things will work.

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

Modified: head/sys/dev/cardbus/cardbus.c
==============================================================================
--- head/sys/dev/cardbus/cardbus.c	Wed Jan 14 05:41:28 2015	(r277162)
+++ head/sys/dev/cardbus/cardbus.c	Wed Jan 14 05:41:31 2015	(r277163)
@@ -106,6 +106,8 @@ cardbus_attach(device_t cbdev)
 		device_printf(cbdev, "failed to allocate bus number\n");
 		return (ENXIO);
 	}
+#else
+	device_printf(cbdev, "Your bus numbers may be AFU\n");
 #endif
 	return (0);
 }


More information about the svn-src-head mailing list