]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: bh locking redux and task scheduling.
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 31 Jan 2012 09:47:34 +0000 (10:47 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Tue, 31 Jan 2012 13:32:40 +0000 (14:32 +0100)
commit6c1a2d2f19e72f276a80b64f796af6807434313c
tree520b59064cfb654b15d1491536112d41492f8fa1
parent41bfdcdac3eb0b08e49e3e2be4d044df2ab3fabf
r8169: bh locking redux and task scheduling.

- atomic bit operations are globally visible
- pending status is always cleared before execution
- scheduled works are either idempotent or only required to happen once
  after a series of originating events, say link events for instance

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Suggested-by: Michał Mirosław <mirqus@gmail.com>
Cc: Hayes Wang <hayeswang@realtek.com>
drivers/net/ethernet/realtek/r8169.c