#include <linux/config.h>#include <linux/kernel.h>#include <linux/sched.h>#include <linux/types.h>#include <linux/fs.h>#include <linux/malloc.h>#include <linux/if_ether.h>#include <linux/string.h>#include <linux/netdevice.h>#include <linux/etherdevice.h>#include <linux/fddidevice.h>#include <linux/hippidevice.h>#include <linux/trdevice.h>#include <linux/fcdevice.h>#include <linux/if_arp.h>#include <linux/if_ltalk.h>#include <linux/rtnetlink.h>#include <net/neighbour.h>Include dependency graph for net_init.c:

Go to the source code of this file.
Defines | |
| #define | MAX_ETH_CARDS 16 |
Functions | |
| device * | init_etherdev (struct device *dev, int sizeof_priv) |
| static int | eth_mac_addr (struct device *dev, void *p) |
| static int | eth_change_mtu (struct device *dev, int new_mtu) |
| void | ether_setup (struct device *dev) |
| int | ether_config (struct device *dev, struct ifmap *map) |
| static int | etherdev_get_index (struct device *dev) |
| static void | etherdev_put_index (struct device *dev) |
| int | register_netdev (struct device *dev) |
| void | unregister_netdev (struct device *dev) |
Variables | |
| static struct device * | ethdev_index [MAX_ETH_CARDS] |
|
|
Definition at line 65 of file net_init.c. Referenced by etherdev_get_index(), etherdev_put_index(), and init_etherdev(). |
|
||||||||||||
|
Definition at line 150 of file net_init.c. References EINVAL. Referenced by ether_setup(). |
|
||||||||||||
|
Definition at line 141 of file net_init.c. References addr, EBUSY, memcpy, and sockaddr::sa_data. Referenced by ether_setup(). |
|
||||||||||||
|
Definition at line 452 of file net_init.c. References ifmap::base_addr, ifmap::dma, ifmap::irq, ifmap::mem_end, ifmap::mem_start, ifmap::port, u_char, u_long, and u_short. |
|
|
Definition at line 292 of file net_init.c. References ARPHRD_ETHER, dev_init_buffers(), ETH_ALEN, eth_change_mtu(), eth_header(), eth_header_cache(), eth_header_cache_update(), eth_header_parse(), ETH_HLEN, eth_mac_addr(), eth_rebuild_header(), ethdev_index, IFF_BROADCAST, IFF_MULTICAST, memset, NULL, printk, simple_strtoul(), strncmp(), and xFF. Referenced by __initfunc(), __initfunctio(), am79c961_probe1(), at1700_probe1(), bmac_probe(), eepro_probe1(), el3_probe(), elp_init(), ethdev_init(), gmac_probe(), happy_meal_ether_init(), init_etherdev(), ipddp_init(), irlan_eth_init(), isdn_net_init(), lp486e_probe(), mace68k_probe(), mace_probe(), myri_ether_init(), ncr885e_probe1(), net_init(), pcnet32_probe1(), plusb_net_init(), qec_ether_init(), RCfound_device(), sbni_probe1(), sgiseeq_init(), skmca_probe(), vortex_found_device(), and xpds_init(). Here is the call graph for this function: ![]() |
|
|
Definition at line 469 of file net_init.c. References ethdev_index, MAX_ETH_CARDS, NULL, and sprintf(). Referenced by register_netdev(). Here is the call graph for this function: ![]() |
|
|
Definition at line 484 of file net_init.c. References ethdev_index, MAX_ETH_CARDS, and NULL. Referenced by register_netdev(), and unregister_netdev(). |
|
||||||||||||
|
Definition at line 80 of file net_init.c. References dev_base, device, ethdev_index, ether_setup(), found, i, kmalloc(), MAX_ETH_CARDS, memset, NULL, register_netdevice, sprintf(), and strcmp. Here is the call graph for this function: ![]() |
|
|
Definition at line 495 of file net_init.c. References EIO, etherdev_get_index(), etherdev_put_index(), register_netdevice, rtnl_lock(), and rtnl_unlock(). Here is the call graph for this function: ![]() |
|
|
Definition at line 515 of file net_init.c. References etherdev_put_index(), rtnl_lock(), rtnl_unlock(), and unregister_netdevice. Referenced by __irlan_close(), ace_init_cleanup(), ax25_close(), cleanup_module(), comx_rmdir(), delete_interface(), dlci_add(), dlci_del(), hdlcdrv_unregister_hdlcdrv(), hysdn_net_release(), isdn_net_realrm(), kaweth_disconnect(), lapbeth_check_devices(), lcs_unregister(), plusb_cleanup(), plusb_disconnect(), ppp_alloc(), rtl8139_remove_one(), sis900_mac_probe(), sixpack_close(), slvl_init(), slvl_shutdown(), sppp_channel_delete(), starfire_init_one(), starfire_remove_one(), strip_close(), sv11_shutdown(), vortex_probe1(), and x25_asy_close_tty(). Here is the call graph for this function: ![]() |
|
|
Definition at line 66 of file net_init.c. Referenced by ether_setup(), etherdev_get_index(), etherdev_put_index(), and init_etherdev(). |