/* Saves at boot time configured settings for any netdevice.  */
int __init netdev_boot_setup(char *str)
/* Saves at boot time configured settings for any netdevice.  */
int __init netdev_boot_setup(char *str)
{
	int ints[5];
	struct ifmap map;
	str = get_options(str, ARRAY_SIZE(ints), ints);
	if (!str || !*str)
		return 0;
	memset(&map, 0, sizeof(map));
	if (ints[0] > 0)
		map.irq = ints[1];
	if (ints[0] > 1)
		map.base_addr = ints[2];
	if (ints[0] > 2)
		map.mem_start = ints[3];
	if (ints[0] > 3)
		map.mem_end = ints[4];
	return netdev_boot_setup_add(str, &map);
}