/* Check boot time settings for the base address of device. The found settings are set for the device to be used later in the device probing. Returns 0 if no settings found.  */
unsigned long netdev_boot_base(const char *prefix, int unit)
/* Check boot time settings for the base address of device. The found settings are set for the device to be used later in the device probing. Returns 0 if no settings found.  */
unsigned long netdev_boot_base(const char *prefix, int unit)
{
	const struct netdev_boot_setup *s = dev_boot_setup;
	char name[IFNAMSIZ];
	int i;
	sprintf(name, "%s%d", prefix, unit);
	if (__dev_get_by_name(&init_net, name))
		return 1;
	for (i = 0; i < NETDEV_BOOT_SETUP_MAX; i++)
		if (!strcmp(name, s[i].name))
			return s[i].map.base_addr;
	return 0;
}