1. 14 9月, 2006 2 次提交
  2. 12 9月, 2006 1 次提交
    • A
      [PATCH] Remove more unnecessary driver printk's · d5b20697
      Andy Gospodarek 提交于
      As I promised last week, here is the first pass at removing all
      unnecessary printk's that exist in network device drivers currently in
      promiscuous mode.  The duplicate messages are not needed so they have
      been removed.  Some of these drivers are quite old and might not need an
      update, but I did them all anyway.
      
      I am currently auditing the remaining conditional printk's and will send
      out a patch for those soon.
      Signed-off-by: NAndy Gospodarek <andy@greyhouse.net>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      d5b20697
  3. 11 9月, 2006 8 次提交
  4. 20 8月, 2006 3 次提交
  5. 29 7月, 2006 1 次提交
  6. 06 7月, 2006 2 次提交
    • J
      [netdrvr] Remove Becker-template 'io_size' member, when invariant · c3d8e682
      Jeff Garzik 提交于
      Becker-derived drivers often have the 'io_size' member in their chip
      info struct, indicating the minimum required size of the I/O resource
      (usually a PCI BAR).  For many situations, this number is either
      constant or irrelevant (due to pci_iomap convenience behavior).
      
      This change removes the io_size invariant member, and replaces it with a
      compile-time constant.
      
      Drivers updated: fealnx, gt96100eth, winbond-840, yellowfin
      
      Additionally,
      - gt96100eth: unused 'drv_flags' removed from gt96100eth
      - winbond-840: unused struct match_info removed
      - winbond-840: mark pci_id_tbl[] const, __devinitdata
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      c3d8e682
    • J
      [netdrvr] Remove Linux-specific changelogs from several Becker template drivers · 03a8c661
      Jeff Garzik 提交于
      When in-kernel net drivers branched from Donald Becker's vanilla driver
      set, in the days before BitKeeper and git, a driver changelog was
      maintained in the driver source code.  These days, the kernel's
      changelog is far superior and much more accurate, so the in-driver
      changelogs are removed.
      
      Another relic of the Becker/kernel split was version numbering, using
      "foo-LKx.y.z" notation, resulting in weird version numbers like
      "1.17b-LK1.1.9".  These drivers are for older hardware, and see few
      changes these days, so the version numbers were all bumped to something
      more simple.
      
      Finally, in xircom_tulip_cb specifically, an additional cleanup removes
      the always-enabled CARDBUS cpp macro.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      03a8c661
  7. 03 7月, 2006 1 次提交
  8. 01 7月, 2006 1 次提交
  9. 28 6月, 2006 1 次提交
  10. 27 6月, 2006 1 次提交
    • J
      [netdrvr] Remove long-unused bits from Becker template drivers · 1f1bd5fc
      Jeff Garzik 提交于
      Symbols such as PCI_USES_IO, PCI_ADDR0, etc. originated from Donald
      Becker's net driver template, but have been long unused.  Remove.
      
      In a few drivers, this allows the further eliminate of the pci_flags (or
      just plain flags) member in the template driver probe structure.
      
      Most of this logic is simply open-coded in most drivers, since it never
      changes.
      
      Made a few other cleanups while I was in there, too:
      * constify, __devinitdata several PCI ID tables
      * replace table terminating entries such as "{0,}," and "{NULL},"
        with a more-clean "{ }".
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      1f1bd5fc
  11. 24 6月, 2006 1 次提交
  12. 20 6月, 2006 1 次提交
  13. 18 6月, 2006 1 次提交
    • H
      [NET]: Add netif_tx_lock · 932ff279
      Herbert Xu 提交于
      Various drivers use xmit_lock internally to synchronise with their
      transmission routines.  They do so without setting xmit_lock_owner.
      This is fine as long as netpoll is not in use.
      
      With netpoll it is possible for deadlocks to occur if xmit_lock_owner
      isn't set.  This is because if a printk occurs while xmit_lock is held
      and xmit_lock_owner is not set can cause netpoll to attempt to take
      xmit_lock recursively.
      
      While it is possible to resolve this by getting netpoll to use
      trylock, it is suboptimal because netpoll's sole objective is to
      maximise the chance of getting the printk out on the wire.  So
      delaying or dropping the message is to be avoided as much as possible.
      
      So the only alternative is to always set xmit_lock_owner.  The
      following patch does this by introducing the netif_tx_lock family of
      functions that take care of setting/unsetting xmit_lock_owner.
      
      I renamed xmit_lock to _xmit_lock to indicate that it should not be
      used directly.  I didn't provide irq versions of the netif_tx_lock
      functions since xmit_lock is meant to be a BH-disabling lock.
      
      This is pretty much a straight text substitution except for a small
      bug fix in winbond.  It currently uses
      netif_stop_queue/spin_unlock_wait to stop transmission.  This is
      unsafe as an IRQ can potentially wake up the queue.  So it is safer to
      use netif_tx_disable.
      
      The hamradio bits used spin_lock_irq but it is unnecessary as
      xmit_lock must never be taken in an IRQ handler.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      932ff279
  14. 27 5月, 2006 1 次提交
  15. 20 5月, 2006 1 次提交
  16. 29 3月, 2006 1 次提交
  17. 28 3月, 2006 1 次提交
  18. 23 3月, 2006 1 次提交
  19. 10 3月, 2006 2 次提交
  20. 07 2月, 2006 1 次提交
  21. 29 1月, 2006 1 次提交
  22. 27 1月, 2006 3 次提交
  23. 17 1月, 2006 1 次提交
  24. 13 1月, 2006 1 次提交
  25. 09 1月, 2006 1 次提交
  26. 29 10月, 2005 1 次提交