-
We may want to embed struct rtnet_device into a pre-allocated parent container struct, which makes rtdev_alloc() and rt_alloc_etherdev() useless for the purpose. The new rtdev_init() and rt_init_etherdev() calls can be used to initialize a pre-allocated device structure and set it up with default ethernet settings resp. The caller should set the private area pointer manually (defaults to NULL). Signed-off-by: Philippe Gerum <rpm@xenomai.org> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
541f99a2