1. 13 6月, 2009 1 次提交
  2. 02 5月, 2009 1 次提交
  3. 21 4月, 2009 1 次提交
  4. 07 4月, 2009 1 次提交
  5. 30 3月, 2009 1 次提交
  6. 22 3月, 2009 11 次提交
  7. 04 3月, 2009 1 次提交
    • R
      net pcmcia: worklimit reaches -1 · b9bdcd9b
      Roel Kluin 提交于
      with while (--worklimit >= 0); worklimit reaches -1 after the loop. In
      3c589_cs.c this caused a warning not to be printed.
      
      In 3c574_cs.c contrastingly, el3_rx() treats worklimit differently:
      
      static int el3_rx(struct net_device *dev, int worklimit)
      {
      	while (--worklimit >= 0) { ... }
      	return worklimit;
      }
      
      el3_rx() is only called by function el3_interrupt(): twice:
      
      static irqreturn_t el3_interrupt(int irq, void *dev_id)
      {
              int work_budget = max_interrupt_work;
      	while(...) {
      		if (...)
      			work_budget = el3_rx(dev, work_budget);
      		if (...)
      			work_budget = el3_rx(dev, work_budget);
      		if (--work_budget < 0) {
      		        ...
      		        break;
      		}
      	}
      }
      The error path can occur 2 too early.
      Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b9bdcd9b
  8. 18 2月, 2009 1 次提交
  9. 04 2月, 2009 1 次提交
  10. 01 12月, 2008 1 次提交
  11. 24 11月, 2008 2 次提交
  12. 22 11月, 2008 1 次提交
    • C
      axnet_cs / pcnet_cs: moving PCMCIA_DEVICE_PROD_ID for Netgear FA411 · 208fbec5
      Cord Walter 提交于
      Hi,
      
      after noticing that my Netgear FA411 (PCMCIA-NIC) [1] stopped working with
      the release of the 2.6.25 kernel (sidux-version), I checked the
      respective driver sources and noticed that the pcnet_cs driver bailed
      out with "use axnet_cs instead" for the Netgear FA411, but axnet_cs
      doesn't claim this ID.
      
      I compiled a kernel with the PCMCIA-ID for the netgear card moved to
      axnet_cs from pcnet_cs which worked. I then contacted sidux-kernel
      maintainer Stefan Lippers-Hollmann who turned the info into this patch
      and integrated it into the kernel:
      
      <http://svn.berlios.de/svnroot/repos/fullstory/linux-sidux-2.6/trunk/debian/patches/features/2.6.27.4_PCMCIA_move-PCMCIA-ID-for-Netgear-FA411-from-pcnet_cs-to-axnet_cs.patch>
      
      This works for me and AFAIK there were no reports of any breakage for
      other devices on sidux-support.
      
      This looks like a trivial patch, but since I have very limited
      experience with kernel modifications  I might be woefully wrong there.
      But if there are no side effects of this patch, is it possible to get it
      into the official kernel?
      
      I can provide more detailed information on the affected hardware if
      necessary.
      
      -cord
      
      [1]
      Socket 1 Device 0:      [axnet_cs]              (bus ID: 1.0)
              Configuration:  state: on
              Product Name:   NETGEAR FA411 Fast Ethernet
              Identification: manf_id: 0x0149 card_id: 0x0411
                              function: 6 (network)
                              prod_id(1): "NETGEAR" (0x9aa79dc3)
                              prod_id(2): "FA411" (0x40fad875)
                              prod_id(3): "Fast Ethernet" (0xb4be14e3)
                              prod_id(4): --- (---)
      
      From: Stefan Lippers-Hollmann <s.l-h@gmx.de>
      Date: Sat, 1 Nov 2008 23:53:04 +0000
      Subject: PCMCIA: move PCMCIA ID for Netgear FA411 from pcnet_cs to axnet_cs:
      
      Since kernel 2.6.25, commit 61da96be
      (pcnet_cs: if AX88190-based card, printk "use axnet_cs instead" message.),
      pcnet_cs bails out with "use axnet_cs instead" for the Netgear FA411, but
      axnet_cs doesn't claim this ID.
      
      Socket 1 Device 0:      [axnet_cs]              (bus ID: 1.0)
              Configuration:  state: on
              Product Name:   NETGEAR FA411 Fast Ethernet
              Identification: manf_id: 0x0149 card_id: 0x0411
                              function: 6 (network)
                              prod_id(1): "NETGEAR" (0x9aa79dc3)
                              prod_id(2): "FA411" (0x40fad875)
                              prod_id(3): "Fast Ethernet" (0xb4be14e3)
                              prod_id(4): --- (---)
      
      Cc: stable <stable@kernel.org> [2.6.25, 2.6.26, 2.6.27]
      Signed-off-by: NStefan Lippers-Hollmann <s.l-h@gmx.de>
      Signed-off-by: NCord Walter <qord@cwalter.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      208fbec5
  13. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-2 · 4cf1653a
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      This patch is a safe convert for netdev->priv to netdev_priv(netdev).
      Since all of the netdev->priv is only for read.
      But it is too big to be sent in one mail.
      I split it to 4 parts and make every part smaller than 100,000 bytes,
      which is max size allowed by vger.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4cf1653a
  14. 07 11月, 2008 1 次提交
  15. 04 11月, 2008 1 次提交
  16. 28 10月, 2008 1 次提交
  17. 16 10月, 2008 1 次提交
  18. 14 10月, 2008 1 次提交
  19. 09 10月, 2008 1 次提交
  20. 03 9月, 2008 1 次提交
  21. 31 8月, 2008 2 次提交
  22. 23 8月, 2008 6 次提交
  23. 27 6月, 2008 1 次提交