]> git.neil.brown.name Git - history.git/commitdiff
Import 1.0.4 1.0.4
authorLinus Torvalds <torvalds@linuxfoundation.org>
Fri, 23 Nov 2007 20:09:25 +0000 (15:09 -0500)
committerLinus Torvalds <torvalds@linuxfoundation.org>
Fri, 23 Nov 2007 20:09:25 +0000 (15:09 -0500)
Makefile
config.in
drivers/net/8390.c
fs/proc/net.c
net/inet/ip.c

index 596fb957d82f2ac4ee0bdc0ffc0d338ca561e63b..d61951966cd74429649b338248c32d34102c9c10 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION = 1
 PATCHLEVEL = 0
-SUBLEVEL = 3
+SUBLEVEL = 4
 
 all:   Version zImage
 
index 85e19af45979a7750aed2d4f1cc0b98fa3894cc0..42e4599177a751d202c9664ae71b06d99c0640ba 100644 (file)
--- a/config.in
+++ b/config.in
@@ -104,8 +104,6 @@ bool 'System V and Coherent filesystem support' CONFIG_SYSV_FS n
 *
 *  character devices
 *
-#bool 'Keyboard meta-key sends ESC-prefix' CONFIG_KBD_META y
-#bool 'Keyboard Num Lock on by default' CONFIG_KBD_NUML y
 bool 'Parallel printer support' CONFIG_PRINTER n
 bool 'Logitech busmouse support' CONFIG_BUSMOUSE n
 bool 'PS/2 mouse (aka "auxiliary device") support' CONFIG_PSMOUSE y
index adc62503fd470ed96f9d7b87bb34af8e91517f75..a40990bb18b8bc3f9bbca932eafbde994859084c 100644 (file)
@@ -153,7 +153,8 @@ static int ei_start_xmit(struct sk_buff *skb, struct device *dev)
                else {
                        /* The 8390 probably hasn't gotten on the cable yet. */
                        printk(KERN_DEBUG "%s: Possible network cable problem?\n", dev->name);
-                       ei_local->interface_num ^= 1;   /* Try a different xcvr.  */
+                       if (ei_local->stat.tx_packets == 0)
+                               ei_local->interface_num ^= 1;   /* Try a different xcvr.  */
                }
                /* Try to restart the card.  Perhaps the user has fixed something. */
                ei_reset_8390(dev);
@@ -285,7 +286,7 @@ void ei_interrupt(int reg_ptr)
     
     /* !!Assumption!! -- we stay in page 0.     Don't break this. */
     while ((interrupts = inb_p(e8390_base + EN0_ISR)) != 0
-                  && ++boguscount < 5) {
+                  && ++boguscount < 9) {
                if (interrupts & ENISR_RDC) {
                        /* Ack meaningless DMA complete. */
                        outb_p(ENISR_RDC, e8390_base + EN0_ISR);
index c7c300e26efec4790fd5a999dcf56dfbf89956da..c1e5d4f9ff5aae83d206f95e214fda0a0e29d4ae 100644 (file)
@@ -168,10 +168,10 @@ static int proc_readnet(struct inode * inode, struct file * file,
                return -ENOMEM;
        ino = inode->i_ino;
        switch (ino) {
-#ifdef CONFIG_INET
                case 128:
                        length = unix_get_info(page);
                        break;
+#ifdef CONFIG_INET
                case 129:
                        length = arp_get_info(page);
                        break;
index 0311b554d90ee231a944a585f8d4457472a2eabd..a3f17e710513e312f7a2da55f1513cf52f2e2cc7 100644 (file)
@@ -1198,7 +1198,7 @@ ip_forward(struct sk_buff *skb, struct device *dev, int is_frag)
        {
                if(iph->tos & IPTOS_LOWDELAY)
                        dev2->queue_xmit(skb2, dev2, SOPRI_INTERACTIVE);
-               if(iph->tos & IPTOS_THROUGHPUT)
+               else if(iph->tos & IPTOS_THROUGHPUT)
                        dev2->queue_xmit(skb2, dev2, SOPRI_BACKGROUND);
                else
                        dev2->queue_xmit(skb2, dev2, SOPRI_NORMAL);