From: Joerg Sonnenberger Date: Tue, 14 Jun 2005 16:35:42 +0000 (+0000) Subject: Add missing breaks. X-Git-Tag: v2.0.1~6962 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/820c1612f8e46d8097805aa1d392b136dbd53224 Add missing breaks. --- diff --git a/sys/bus/pci/pci.c b/sys/bus/pci/pci.c index c6901dff51..d892b300fb 100644 --- a/sys/bus/pci/pci.c +++ b/sys/bus/pci/pci.c @@ -24,7 +24,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD: src/sys/pci/pci.c,v 1.141.2.15 2002/04/30 17:48:18 tmm Exp $ - * $DragonFly: src/sys/bus/pci/pci.c,v 1.26 2005/06/14 12:24:04 joerg Exp $ + * $DragonFly: src/sys/bus/pci/pci.c,v 1.27 2005/06/14 16:35:42 joerg Exp $ * */ @@ -1694,6 +1694,7 @@ pci_alloc_resource(device_t dev, device_t child, int type, int *rid, cfg->intline, cfg->intline, 1); } } + break; #endif case SYS_RES_IOPORT: case SYS_RES_MEMORY: @@ -1708,6 +1709,7 @@ pci_alloc_resource(device_t dev, device_t child, int type, int *rid, if (PCI_ENABLE_IO(dev, child, type)) return (NULL); } + break; } } return resource_list_alloc(rl, dev, child, type, rid,