summaryrefslogtreecommitdiffstats
path: root/sys/dev/pcf
diff options
context:
space:
mode:
authornsouch <nsouch@FreeBSD.org>1998-11-04 22:09:17 +0000
committernsouch <nsouch@FreeBSD.org>1998-11-04 22:09:17 +0000
commit751db9697b8486b35d46abf71788df179ae8d308 (patch)
tree3bd0d44b9113db13e47a24916d87d0026783239b /sys/dev/pcf
parent4da751f9dd4f4664d158c220fc9074437b0afaac (diff)
downloadFreeBSD-src-751db9697b8486b35d46abf71788df179ae8d308.zip
FreeBSD-src-751db9697b8486b35d46abf71788df179ae8d308.tar.gz
iicbus probe and attach deferred until root_bus_configure() call.
Diffstat (limited to 'sys/dev/pcf')
-rw-r--r--sys/dev/pcf/pcf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pcf/pcf.c b/sys/dev/pcf/pcf.c
index 0d08b3c..7363077 100644
--- a/sys/dev/pcf/pcf.c
+++ b/sys/dev/pcf/pcf.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pcf.c,v 1.3 1998/10/31 11:37:09 nsouch Exp $
+ * $Id: pcf.c,v 1.4 1998/10/31 14:23:09 peter Exp $
*
*/
#include <sys/param.h>
@@ -168,7 +168,6 @@ pcfprobe_isa(struct isa_device *dvp)
/* XXX add the pcf device to the root_bus until isa bus exists */
pcfdev = device_add_child(root_bus, "pcf", pcf->pcf_unit, NULL);
- device_probe_and_attach(pcfdev);
if (!pcfdev)
goto error;
@@ -217,9 +216,6 @@ pcf_attach(device_t pcfdev)
pcf->iicbus = iicbus_alloc_bus(pcfdev);
- if (!pcf->iicbus)
- return (EINVAL);
-
/* probe and attach the iicbus */
device_probe_and_attach(pcf->iicbus);
OpenPOWER on IntegriCloud