summaryrefslogtreecommitdiffstats
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-01-14 05:41:31 +0000
committerimp <imp@FreeBSD.org>2015-01-14 05:41:31 +0000
commit6ea154d79358191f8b35a57387bfe5e064d385ef (patch)
tree4b4bca3d43d93c4ce5f5432484a39f3421c5d874 /sys/dev/cardbus
parent688468d31c0ac316df91f6b633e8ccf82deed7c8 (diff)
downloadFreeBSD-src-6ea154d79358191f8b35a57387bfe5e064d385ef.zip
FreeBSD-src-6ea154d79358191f8b35a57387bfe5e064d385ef.tar.gz
Add a rather obnoxious warning if you don't have NEW_PCIB defined
since it's a total crap shoot if things will work.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/cardbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index c591fe9..5771d4c 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -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);
}
OpenPOWER on IntegriCloud