writel(1 << (DOORBELL_TO_CARD_OPEN_0 + port->node), dbr);
 
        timeout = jiffies + HZ;
-       do
+       do {
                if (get_status(port)->open) {
                        netif_start_queue(dev);
                        return 0;
                }
-       while (time_after(timeout, jiffies));
+       } while (time_after(timeout, jiffies));
 
        printk(KERN_ERR "%s: unable to open port\n", dev->name);
        /* ask the card to close the port, should it be still alive */
               port->card->plx + PLX_DOORBELL_TO_CARD);
 
        timeout = jiffies + HZ;
-       do
+       do {
                if (!get_status(port)->open)
                        break;
-       while (time_after(timeout, jiffies));
+       } while (time_after(timeout, jiffies));
 
        if (get_status(port)->open)
                printk(KERN_ERR "%s: unable to close port\n", dev->name);