1. 30 3月, 2006 1 次提交
  2. 19 10月, 2005 1 次提交
    • J
      [PATCH] via-rhine: change mdelay to msleep and remove from ISR path · 6ba98d31
      John W. Linville 提交于
      Get rid of the mdelay call in rhine_disable_linkmon.  The function
      is called from the via-rhine versions of mdio_read and mdio_write.
      Those functions are indirectly called from rhine_check_media and
      rhine_tx_timeout, both of which can be called in interrupt context.
      
      So, create tx_timeout_task and check_media_task as instances of struct
      work_struct inside of rhine_private.  Then, change rhine_tx_timeout to
      invoke schedule_work for tx_timeout_task (i.e. rhine_tx_timeout_task),
      moving the work to process context.  Also, change rhine_error (invoked
      from rhine_interrupt) to invoke schedule_work for check_media_task
      (i.e. rhine_check_media_task), which simply calls rhine_check media
      in process context.  Finally, add a call to flush_scheduled_work in
      rhine_close to avoid any resource conflicts with pending work items.
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      6ba98d31
  3. 14 9月, 2005 1 次提交
  4. 29 6月, 2005 1 次提交
    • D
      [NET]: Remove gratuitous use of skb->tail in network drivers. · 689be439
      David S. Miller 提交于
      Many drivers use skb->tail unnecessarily.
      
      In these situations, the code roughly looks like:
      
      	dev = dev_alloc_skb(...);
      
      	[optional] skb_reserve(skb, ...);
      
      	... skb->tail ...
      
      But even if the skb_reserve() happens, skb->data equals
      skb->tail.  So it doesn't make any sense to use anything
      other than skb->data in these cases.
      
      Another case was the s2io.c driver directly mucking with
      the skb->data and skb->tail pointers.  It really just wanted
      to do an skb_reserve(), so that's what the code was changed
      to do instead.
      
      Another reason I'm making this change as it allows some SKB
      cleanups I have planned simpler to merge.  In those cleanups,
      skb->head, skb->tail, and skb->end pointers are removed, and
      replaced with skb->head_room and skb->tail_room integers.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      Acked-by: NJeff Garzik <jgarzik@pobox.com>
      689be439
  5. 28 6月, 2005 1 次提交
  6. 27 6月, 2005 2 次提交
  7. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4