diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-23 15:33:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-23 15:33:38 +0000 |
commit | a658c654ca76256f43aa384ebcde5350ea8d0bfb (patch) | |
tree | a28bee9a9dfb15c8c0d8c3aa3ada2d42343b9cf9 /sys | |
parent | 897e19b9f8343f5bf158aa2c4903ad9753c4c249 (diff) |
pchb must walk children too
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/pci/pchb.c | 5 | ||||
-rw-r--r-- | sys/arch/i386/pci/pchb.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/pchb.c b/sys/arch/amd64/pci/pchb.c index 1eb74fed4b2..6b13b95ff59 100644 --- a/sys/arch/amd64/pci/pchb.c +++ b/sys/arch/amd64/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.30 2009/09/18 20:17:17 kettenis Exp $ */ +/* $OpenBSD: pchb.c,v 1.31 2009/11/23 15:33:37 deraadt Exp $ */ /* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -114,7 +114,8 @@ int pchbmatch(struct device *, void *, void *); void pchbattach(struct device *, struct device *, void *); struct cfattach pchb_ca = { - sizeof(struct pchb_softc), pchbmatch, pchbattach + sizeof(struct pchb_softc), pchbmatch, pchbattach, NULL, + config_activate_children }; struct cfdriver pchb_cd = { diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c index 5da60a085c2..7b8a4b1676d 100644 --- a/sys/arch/i386/pci/pchb.c +++ b/sys/arch/i386/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.78 2009/09/18 20:17:17 kettenis Exp $ */ +/* $OpenBSD: pchb.c,v 1.79 2009/11/23 15:33:37 deraadt Exp $ */ /* $NetBSD: pchb.c,v 1.65 2007/08/15 02:26:13 markd Exp $ */ /* @@ -126,7 +126,8 @@ int pchbmatch(struct device *, void *, void *); void pchbattach(struct device *, struct device *, void *); struct cfattach pchb_ca = { - sizeof(struct pchb_softc), pchbmatch, pchbattach + sizeof(struct pchb_softc), pchbmatch, pchbattach, NULL, + config_activate_children }; struct cfdriver pchb_cd = { |