Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / Documentation / networking / netdevices.txt
blob8769040b334de4da94581c2812f0a24d86aa8fd8
2 Network Devices, the Kernel, and You!
5 Introduction
6 ============
7 The following is a random collection of documentation regarding
8 network devices.
12 struct net_device synchronization rules
13 =======================================
14 dev->open:
15         Locking: Inside rtnl_lock() semaphore.
16         Sleeping: OK
18 dev->stop:
19         Locking: Inside rtnl_lock() semaphore.
20         Sleeping: OK
22 dev->do_ioctl:
23         Locking: Inside rtnl_lock() semaphore.
24         Sleeping: OK
26 dev->get_stats:
27         Locking: Inside dev_base_lock spinlock.
28         Sleeping: NO
30 dev->hard_start_xmit:
31         Locking: Inside dev->xmit_lock spinlock.
32         Sleeping: NO
34 dev->tx_timeout:
35         Locking: Inside dev->xmit_lock spinlock.
36         Sleeping: NO
38 dev->set_multicast_list:
39         Locking: Inside dev->xmit_lock spinlock.
40         Sleeping: NO