Merge branch 'upstream-fixes' into upstream
authorJeff Garzik <jeff@garzik.org>
Sat, 19 Aug 2006 21:45:11 +0000 (17:45 -0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 19 Aug 2006 21:45:11 +0000 (17:45 -0400)
1  2 
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/smc911x.c
drivers/net/sundance.c

diff --combined drivers/net/Kconfig
index ecfbd1c2408cf9efe01a34bcf402b5a88af24e39,30b3671d833d0ad6ae0e55a6f6f9ada5e6105351..6f388d9e9beabfed4b199d111656d14a524ce32c
@@@ -1411,22 -1411,6 +1411,22 @@@ config FORCEDET
          <file:Documentation/networking/net-modules.txt>.  The module will be
          called forcedeth.
  
 +config FORCEDETH_NAPI
 +      bool "Use Rx and Tx Polling (NAPI) (EXPERIMENTAL)"
 +      depends on FORCEDETH && EXPERIMENTAL
 +      help
 +        NAPI is a new driver API designed to reduce CPU and interrupt load
 +        when the driver is receiving lots of packets from the card. It is
 +        still somewhat experimental and thus not yet enabled by default.
 +
 +        If your estimated Rx load is 10kpps or more, or if the card will be
 +        deployed on potentially unfriendly networks (e.g. in a firewall),
 +        then say Y here.
 +
 +        See <file:Documentation/networking/NAPI_HOWTO.txt> for more
 +        information.
 +
 +        If in doubt, say N.
  
  config CS89x0
        tristate "CS89x0 support"
@@@ -1740,6 -1724,20 +1740,20 @@@ config VIA_RHINE_MMI
  
          If unsure, say Y.
  
+ config VIA_RHINE_NAPI
+       bool "Use Rx Polling (NAPI)"
+       depends on VIA_RHINE
+       help
+         NAPI is a new driver API designed to reduce CPU and interrupt load
+         when the driver is receiving lots of packets from the card.
+         If your estimated Rx load is 10kpps or more, or if the card will be
+         deployed on potentially unfriendly networks (e.g. in a firewall),
+         then say Y here.
+         See <file:Documentation/networking/NAPI_HOWTO.txt> for more
+         information.
  config LAN_SAA9730
        bool "Philips SAA9730 Ethernet support (EXPERIMENTAL)"
        depends on NET_PCI && EXPERIMENTAL && MIPS
@@@ -2235,6 -2233,33 +2249,33 @@@ config GFAR_NAP
        bool "NAPI Support"
        depends on GIANFAR
  
+ config UCC_GETH
+       tristate "Freescale QE UCC GETH"
+       depends on QUICC_ENGINE && UCC_FAST
+       help
+         This driver supports the Gigabit Ethernet mode of QE UCC.
+         QE can be found on MPC836x CPUs.
+ config UGETH_NAPI
+       bool "NAPI Support"
+       depends on UCC_GETH
+ config UGETH_MAGIC_PACKET
+       bool "Magic Packet detection support"
+       depends on UCC_GETH
+ config UGETH_FILTERING
+       bool "Mac address filtering support"
+       depends on UCC_GETH
+ config UGETH_TX_ON_DEMOND
+       bool "Transmit on Demond support"
+       depends on UCC_GETH
+ config UGETH_HAS_GIGA
+       bool
+       depends on UCC_GETH && MPC836x
  config MV643XX_ETH
        tristate "MV-643XX Ethernet support"
        depends on MOMENCO_OCELOT_C || MOMENCO_JAGUAR_ATX || MV64360 || MOMENCO_OCELOT_3 || PPC_MULTIPLATFORM
@@@ -2265,15 -2290,6 +2306,15 @@@ config MV643XX_ETH_
          This enables support for Port 2 of the Marvell MV643XX Gigabit
          Ethernet.
  
 +config QLA3XXX
 +      tristate "QLogic QLA3XXX Network Driver Support"
 +      depends on PCI
 +      help
 +        This driver supports QLogic ISP3XXX gigabit Ethernet cards.
 +
 +        To compile this driver as a module, choose M here: the module
 +        will be called qla3xxx.
 +
  endmenu
  
  #
@@@ -2534,7 -2550,6 +2575,7 @@@ config PLI
  
  config PPP
        tristate "PPP (point-to-point protocol) support"
 +      select SLHC
        ---help---
          PPP (Point to Point Protocol) is a newer and better SLIP.  It serves
          the same purpose: sending Internet traffic over telephone (and other
@@@ -2715,7 -2730,6 +2756,7 @@@ config SLI
  config SLIP_COMPRESSED
        bool "CSLIP compressed headers"
        depends on SLIP
 +      select SLHC
        ---help---
          This protocol is faster than SLIP because it uses compression on the
          TCP/IP headers (not on the data itself), but it has to be supported
          <http://www.tldp.org/docs.html#howto>, explains how to configure
          CSLIP. This won't enlarge your kernel.
  
 +config SLHC
 +      tristate
 +      help
 +        This option enables Van Jacobsen serial line header compression
 +        routines.
 +
  config SLIP_SMART
        bool "Keepalive and linefill"
        depends on SLIP
diff --combined drivers/net/Makefile
index 5e91c3562ad23de36c665fd4332f99a2e9f51221,8427bf9dec9d9b9aa558a44dbf85fb75c09acda7..6ff17649c0fc47865e695f7a0940f571ff2d7adf
@@@ -2,6 -2,10 +2,6 @@@
  # Makefile for the Linux network (ethercard) device drivers.
  #
  
 -ifeq ($(CONFIG_ISDN_PPP),y)
 -  obj-$(CONFIG_ISDN) += slhc.o
 -endif
 -
  obj-$(CONFIG_E1000) += e1000/
  obj-$(CONFIG_IBM_EMAC) += ibm_emac/
  obj-$(CONFIG_IXGB) += ixgb/
@@@ -14,6 -18,9 +14,9 @@@ gianfar_driver-objs := gianfar.o 
                gianfar_mii.o \
                gianfar_sysfs.o
  
+ obj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
+ ucc_geth_driver-objs := ucc_geth.o ucc_geth_phy.o
  #
  # link order important here
  #
@@@ -106,9 -113,8 +109,9 @@@ obj-$(CONFIG_FORCEDETH) += forcedeth.
  obj-$(CONFIG_NE_H8300) += ne-h8300.o 8390.o
  
  obj-$(CONFIG_MV643XX_ETH) += mv643xx_eth.o
 +obj-$(CONFIG_QLA3XXX) += qla3xxx.o
  
 -obj-$(CONFIG_PPP) += ppp_generic.o slhc.o
 +obj-$(CONFIG_PPP) += ppp_generic.o
  obj-$(CONFIG_PPP_ASYNC) += ppp_async.o
  obj-$(CONFIG_PPP_SYNC_TTY) += ppp_synctty.o
  obj-$(CONFIG_PPP_DEFLATE) += ppp_deflate.o
@@@ -117,7 -123,9 +120,7 @@@ obj-$(CONFIG_PPP_MPPE) += ppp_mppe.
  obj-$(CONFIG_PPPOE) += pppox.o pppoe.o
  
  obj-$(CONFIG_SLIP) += slip.o
 -ifeq ($(CONFIG_SLIP_COMPRESSED),y)
 -  obj-$(CONFIG_SLIP) += slhc.o
 -endif
 +obj-$(CONFIG_SLHC) += slhc.o
  
  obj-$(CONFIG_DUMMY) += dummy.o
  obj-$(CONFIG_IFB) += ifb.o
diff --combined drivers/net/smc911x.c
index 4c4adf4c2aea90c3c8635bdf5b61473059ef04c2,0b15290df278c5a0eb859a7a49fe370415e3dd75..4438fe8c9499068041808b28fb599247c09055de
@@@ -55,6 -55,8 +55,6 @@@ static const char version[] 
                         )
  #endif
  
 -
 -#include <linux/config.h>
  #include <linux/init.h>
  #include <linux/module.h>
  #include <linux/kernel.h>
@@@ -1090,6 -1092,7 +1090,7 @@@ static irqreturn_t smc911x_interrupt(in
        /* Spurious interrupt check */
        if ((SMC_GET_IRQ_CFG() & (INT_CFG_IRQ_INT_ | INT_CFG_IRQ_EN_)) !=
                (INT_CFG_IRQ_INT_ | INT_CFG_IRQ_EN_)) {
+               spin_unlock_irqrestore(&lp->lock, flags);
                return IRQ_NONE;
        }
  
diff --combined drivers/net/sundance.c
index 8f33f5d34af23255bf41b9eb0e70698ee77cdde1,698568e751daf512aaed32902f36b818354db3f3..90ac216d6dd5b3b85383ac1afb4c18fdd19864e0
@@@ -17,8 -17,6 +17,8 @@@
        Support and updates available at
        http://www.scyld.com/network/sundance.html
        [link no longer provides useful info -jgarzik]
 +      Archives of the mailing list are still available at
 +      http://www.beowulf.org/pipermail/netdrivers/
  
  */
  
@@@ -109,7 -107,7 +109,7 @@@ static char *media[MAX_UNITS]
  #endif
  
  /* These identify the driver base version and may not be removed. */
- static char version[] __devinitdata =
+ static char version[] =
  KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "  Written by Donald Becker\n"
  KERN_INFO "  http://www.scyld.com/network/sundance.html\n";
  
@@@ -648,7 -646,7 +648,7 @@@ static int __devinit sundance_probe1 (s
        /* Reset the chip to erase previous misconfiguration. */
        if (netif_msg_hw(np))
                printk("ASIC Control is %x.\n", ioread32(ioaddr + ASICCtrl));
 -      iowrite16(0x00ff, ioaddr + ASICCtrl + 2);
 +      sundance_reset(dev, 0x00ff << 16);
        if (netif_msg_hw(np))
                printk("ASIC Control is now %x.\n", ioread32(ioaddr + ASICCtrl));
  
@@@ -1077,8 -1075,13 +1077,8 @@@ reset_tx (struct net_device *dev
        
        /* Reset tx logic, TxListPtr will be cleaned */
        iowrite16 (TxDisable, ioaddr + MACCtrl1);
 -      iowrite16 (TxReset | DMAReset | FIFOReset | NetworkReset,
 -                      ioaddr + ASICCtrl + 2);
 -      for (i=50; i > 0; i--) {
 -              if ((ioread16(ioaddr + ASICCtrl + 2) & ResetBusy) == 0)
 -                      break;
 -              mdelay(1);
 -      }
 +      sundance_reset(dev, (NetworkReset|FIFOReset|DMAReset|TxReset) << 16);
 +
        /* free all tx skbuff */
        for (i = 0; i < TX_RING_SIZE; i++) {
                skb = np->tx_skbuff[i];
This page took 0.036765 seconds and 5 git commands to generate.