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);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to