Add missing breaks.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 14 Jun 2005 16:35:42 +0000 (16:35 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 14 Jun 2005 16:35:42 +0000 (16:35 +0000)
sys/bus/pci/pci.c

index c6901df..d892b30 100644 (file)
@@ -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,