]> err.no Git - linux-2.6/blobdiff - arch/xtensa/platform-iss/network.c
[POWERPC] pasemi: Broaden specific references to 1682M
[linux-2.6] / arch / xtensa / platform-iss / network.c
index ab05bff40104c80ac2849131b57213a9aa898b5a..b61fb36674e7f7e571aac77bb534165aa750d875 100644 (file)
@@ -251,7 +251,7 @@ static int tuntap_open(struct iss_net_private *lp)
 
        memset(&ifr, 0, sizeof ifr);
        ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
-       strlcpy(ifr.ifr_name, dev_name, sizeof ifr.ifr_name - 1);
+       strlcpy(ifr.ifr_name, dev_name, sizeof ifr.ifr_name);
 
        if ((err = simc_ioctl(fd, TUNSETIFF, (void*) &ifr)) < 0) {
                printk("Failed to set interface, returned %d "
@@ -473,7 +473,7 @@ static int iss_net_open(struct net_device *dev)
        netif_start_queue(dev);
 
        /* clear buffer - it can happen that the host side of the interface
-        * is full when we gethere. In this case, new data is never queued,
+        * is full when we get here. In this case, new data is never queued,
         * SIGIOs never arrive, and the net never works.
         */
        while ((err = iss_net_rx(dev)) > 0)
@@ -798,7 +798,7 @@ static int iss_net_setup(char *str)
 
 #undef ERR
 
-__setup("eth", iss_net_setup);
+__setup("eth=", iss_net_setup);
 
 /*
  * Initialize all ISS Ethernet devices previously registered in iss_net_setup.