View | Details | Raw Unified | Return to bug 247132
Collapse All | Expand All

(-)b/sys/dev/rt/if_rt.c (-1 / +1 lines)
Lines 286-292 generate_mac(uint8_t *mac) Link Here
286
static int
286
static int
287
ether_request_mac(device_t dev, uint8_t *mac)
287
ether_request_mac(device_t dev, uint8_t *mac)
288
{
288
{
289
	char *var;
289
	const char *var;
290
290
291
	/*
291
	/*
292
	 * "ethaddr" is passed via envp on RedBoot platforms
292
	 * "ethaddr" is passed via envp on RedBoot platforms
(-)b/sys/mips/mediatek/mtk_clock.c (+2 lines)
Lines 123-128 mtk_clock_get_info(device_t dev, int index, struct fdt_clock_info *info) Link Here
123
	if (index < 0 || index > 31 || info == NULL)
123
	if (index < 0 || index > 31 || info == NULL)
124
		return (EINVAL);
124
		return (EINVAL);
125
125
126
	mask = (1u << index);
127
126
	if (mtk_sysctl_get(SYSCTL_CLKCFG1) & mask)
128
	if (mtk_sysctl_get(SYSCTL_CLKCFG1) & mask)
127
		info->flags = FDT_CIFLAG_RUNNING;
129
		info->flags = FDT_CIFLAG_RUNNING;
128
	else
130
	else
(-)b/sys/mips/mediatek/mtk_soc.c (+1 lines)
Lines 35-40 __FBSDID("$FreeBSD$"); Link Here
35
#include <sys/rman.h>
35
#include <sys/rman.h>
36
36
37
#include <machine/fdt.h>
37
#include <machine/fdt.h>
38
#include <machine/md_var.h>
38
39
39
#include <dev/ofw/openfirm.h>
40
#include <dev/ofw/openfirm.h>
40
#include <dev/ofw/ofw_bus.h>
41
#include <dev/ofw/ofw_bus.h>

Return to bug 247132