1. 03 Sep, 2003 11 commits
    • Stephen Hemminger's avatar
      [NET]: Convert cops over to new initialization. · fc9e0793
      Stephen Hemminger authored
      More from Al
      NE12-cops
      * switched cops to dynamic allocation
      * cops: embedded ->priv
      * cops: fixed ->irq clobbering on autoprobe
      Added
      * free_netdev
      fc9e0793
    • Stephen Hemminger's avatar
      [NET]: Convert SDLA to new initialization. · 51845e3a
      Stephen Hemminger authored
      Based on Al viro's NE10-sdla
      * switched sdla to dynamic allocation
      * sdla: embedded ->priv
      * sdla: fixed resource leaks on failure exits
      Additionally fixes.
      * get rid of cli/sti
      * get rid of MOD/INC
      
      Builds and probes, but don't have the hardware.
      Driver has never built on 2.6 before this.
      51845e3a
    • Stephen Hemminger's avatar
      [NET]: Add probe_old_netdevs() hook. · 775b2356
      Stephen Hemminger authored
      This set of patches is a mixture of Al's work to device initialization,
      and some of my own to complete it for all the ether, tr, sbni, and loopback
      devices.
      
      The first patch adds the hook for converting old driver initialization
      code over to dynamic allocation.
      
      This part extracted from Al viro's set of net driver changes for ethertap.
      775b2356
    • François Romieu's avatar
      1a66af8c
    • Stephen Hemminger's avatar
      [NET]: DLCI driver cleanups for 2.6.x · db390c0e
      Stephen Hemminger authored
        
      - keep list of arrays for devices and use a lock
      - make sure header is contiguous before overlaying data structure
      - dynamically allocate dev->priv with alloc_netdev
      - get rid of MOD_INC/DEC
      - free devices on module unload
      - keep refcount on slave device's since holding a ptr
      db390c0e
    • Mitchell Blank Jr.'s avatar
      [ATM]: Lanai driver updates. · 7a3817cd
      Mitchell Blank Jr. authored
      o Big performance improvement.  The version of the driver in the kernel
        still had a "mdelay(1)" after every register write.  This capped
        performance at about 8Mbps and ate tons of CPU time.  (Luckily, most
        users of this card are just terminating a DSL line where its not too
        noticeable)
      
        However, after removing this delay the card started getting out of
        sync with the driver under stress tests.  After a couple days of chasing
        the bug I finally determine that the card's support for transmitting
        partial PDUs just doesn't quite work as advertised (before we would send
        a partial PDU to completely fill a VCC's transmit buffer and then send
        the rest of the skb when more buffer space filled up).  The usefulness of
        this is somewhat doubtful anyway and removing it cleaned up a lot of code.
      
        I also added some memory barriers to make sure operations to the card
        happen in the correct order.
      
        Now for the first time ever we get near line-rate performance out of this
        card (~19Mb/s TCP in netperf between two ~300Mhz machines)
      
      o Locking changes (essentially the patch Chas sent me a couple weeks ago
        with some minor tweaking)  I'm still not sure we're getting 100% of the
        cases right but it's definitely FAR better than the old lock-less version.
      
      o Cleanup the backlog draining code in lanai_shutdown_tx_vci()
      
      o Remove outdated comment describing how to compile the module
      
      o Got rid of the "service_novcc_[tr]x" stats - it's really the same error
        as "service_[tr]x" - there's no reason to count them separately.
      
      o Use the ATM_25_PCR constant instead of computing it for ourselves
      7a3817cd
    • Chas Williams's avatar
    • Jeff Garzik's avatar
      [NET]: Fix ethtool_ops thinko in sungem.c · 70150e54
      Jeff Garzik authored
      70150e54
    • Felipe Damasio's avatar
      aa0b3317
    • Maximilian Attems's avatar
      c8037cbe
    • Andrew Morton's avatar
      [NET]: Fix 64-bit warnings in af_netlink.c · e50a1046
      Andrew Morton authored
      e50a1046
  2. 04 Sep, 2003 2 commits
  3. 03 Sep, 2003 13 commits
  4. 04 Sep, 2003 2 commits
  5. 02 Sep, 2003 12 commits