Index: sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c =================================================================== --- sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c +++ sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c @@ -129,6 +129,7 @@ { "brcm,bcm2835", 1 }, { "brcm,bcm2836", 1 }, { "brcm,bcm2837", 1 }, + { "brcm,bcm2711", 1 }, { NULL, 0 } }; @@ -1255,6 +1256,7 @@ config_intrhook_disestablish(&sc->init_hook); } +//JAMES static void bcm2835_cpufreq_identify(driver_t *driver, device_t parent) { @@ -1279,9 +1281,13 @@ static int bcm2835_cpufreq_probe(device_t dev) { + device_printf(dev, "CPU FREQ PROBE\n"); - if (device_get_unit(dev) != 0) + if (device_get_unit(dev) != 0) { + device_printf(dev, "CPU FREQ PROBE FAIL\n"); return (ENXIO); + } + device_set_desc(dev, "CPU Frequency Control"); return (0); @@ -1292,6 +1298,8 @@ { struct bcm2835_cpufreq_softc *sc; struct sysctl_oid *oid; + + device_printf(dev, "CPU FREQ ATTACH\n"); /* set self dev */ sc = device_get_softc(dev);