DEFINE_CLASS_0
DEFINE_CLASS_0(ppt, ppt_driver, ppt_methods, sizeof(struct pptdev));
static DEFINE_CLASS_0(generic_timer, arm_tmr_fdt_driver, arm_tmr_fdt_methods,
static DEFINE_CLASS_0(generic_timer, arm_tmr_acpi_driver, arm_tmr_acpi_methods,
DEFINE_CLASS_0(gic, arm_gic_driver, arm_gic_methods,
DEFINE_CLASS_0(gicv2m, arm_gicv2m_driver, arm_gicv2m_methods,
DEFINE_CLASS_0(pmu, pmu_acpi_driver, pmu_acpi_methods,
static DEFINE_CLASS_0(gpio, mvebu_gpio_driver, mvebu_gpio_methods,
static DEFINE_CLASS_0(gpio, as3722_driver, as3722_methods,
DEFINE_CLASS_0(tegra_dc, tegra_dc_driver, tegra_dc_methods,
DEFINE_CLASS_0(tegra_hdmi, tegra_hdmi_driver, tegra_hdmi_methods,
static DEFINE_CLASS_0(car, tegra124_car_driver, tegra124_car_methods,
static DEFINE_CLASS_0(tegra124_coretemp, tegra124_coretemp_driver,
static DEFINE_CLASS_0(tegra124_cpufreq, tegra124_cpufreq_driver,
static DEFINE_CLASS_0(pmc, tegra124_pmc_driver, tegra124_pmc_methods,
static DEFINE_CLASS_0(xusbpadctl, tegra_xusbpadctl_driver,
static DEFINE_CLASS_0(abpmisc, tegra_abpmisc_driver, tegra_abpmisc_methods,
static DEFINE_CLASS_0(ahci, tegra_ahci_driver, tegra_ahci_methods,
static DEFINE_CLASS_0(efuse, tegra_efuse_driver, tegra_efuse_methods,
static DEFINE_CLASS_0(ehci, ehci_driver, ehci_methods,
static DEFINE_CLASS_0(gpio, tegra_gpio_driver, tegra_gpio_methods,
static DEFINE_CLASS_0(iichb, tegra_i2c_driver, tegra_i2c_methods,
static DEFINE_CLASS_0(lic, tegra_lic_driver, tegra_lic_methods,
static DEFINE_CLASS_0(mc, tegra_mc_driver, tegra_mc_methods,
static DEFINE_CLASS_0(pinmux, tegra_pinmux_driver, tegra_pinmux_methods,
static DEFINE_CLASS_0(rtc, tegra_rtc_driver, tegra_rtc_methods,
static DEFINE_CLASS_0(sdhci, tegra_sdhci_driver, tegra_sdhci_methods,
static DEFINE_CLASS_0(soctherm, tegra_soctherm_driver, tegra_soctherm_methods,
static DEFINE_CLASS_0(usbphy, tegra_usbphy_driver, tegra_usbphy_methods,
static DEFINE_CLASS_0(xhci, xhci_driver, xhci_methods,
static DEFINE_CLASS_0(ipq4018_usb_hs_usbphy, ipq4018_usb_hs_usbphy_driver,
static DEFINE_CLASS_0(ipq4018_usb_ss_usbphy, ipq4018_usb_ss_usbphy_driver,
DEFINE_CLASS_0(ti_clkctrl, ti_clkctrl_driver, ti_clkctrl_methods,
DEFINE_CLASS_0(ti_divider, ti_divider_driver, ti_divider_methods,
DEFINE_CLASS_0(ti_dpll, ti_dpll_driver, ti_dpll_methods,
DEFINE_CLASS_0(ti_gate, ti_gate_driver, ti_gate_methods,
DEFINE_CLASS_0(ti_mux, ti_mux_driver, ti_mux_methods,
static DEFINE_CLASS_0(aic, apple_aic_driver, apple_aic_methods,
DEFINE_CLASS_0(gic, gic_v3_driver, gic_v3_methods,
static DEFINE_CLASS_0(gic, gicv3_its_driver, gicv3_its_methods,
DEFINE_CLASS_0(pl031, pl031_driver, pl031_methods,
DEFINE_CLASS_0(brcm_iproc_mdio, brcm_iproc_mdio_driver,
DEFINE_CLASS_0(brcm_mdionexus, brcm_mdionexus_fdt_driver, brcm_mdionexus_fdt_methods,
DEFINE_CLASS_0(ns2_pcie_phy, ns2_pcie_phy_fdt_driver, ns2_pcie_phy_fdt_methods,
DEFINE_CLASS_0(pcib, thunder_pem_driver, thunder_pem_methods,
DEFINE_CLASS_0(etm, etm_driver, etm_methods, sizeof(struct etm_softc));
DEFINE_CLASS_0(funnel, funnel_driver, funnel_methods,
DEFINE_CLASS_0(replicator, replicator_driver, replicator_methods,
DEFINE_CLASS_0(tmc, tmc_driver, tmc_methods, sizeof(struct tmc_softc));
DEFINE_CLASS_0(imx_ccm, imx_ccm_driver, imx_ccm_methods,
DEFINE_CLASS_0(smmu, smmu_driver, smmu_methods, sizeof(struct smmu_softc));
static DEFINE_CLASS_0(gpio, max77620_driver, max77620_methods,
static DEFINE_CLASS_0(rtc, max77620_rtc_driver, max77620_rtc_methods,
static DEFINE_CLASS_0(car, tegra210_car_driver, tegra210_car_methods,
static DEFINE_CLASS_0(tegra210_coretemp, tegra210_coretemp_driver,
static DEFINE_CLASS_0(tegra210_cpufreq, tegra210_cpufreq_driver,
static DEFINE_CLASS_0(pinmux, tegra210_pinmux_driver, tegra210_pinmux_methods,
static DEFINE_CLASS_0(pmc, tegra210_pmc_driver, tegra210_pmc_methods,
static DEFINE_CLASS_0(xusbpadctl, tegra_xusbpadctl_driver,
static DEFINE_CLASS_0(fspi_clk, ls1028a_flexspi_clk_driver, ls1028a_flexspi_clk_methods,
DEFINE_CLASS_0(qoriq_clkgen, qoriq_clkgen_driver, qoriq_clkgen_methods,
static DEFINE_CLASS_0(soctherm, qoriq_qoriq_therm_driver, qoriq_qoriq_therm_methods,
DEFINE_CLASS_0(rk_pcie_phy, rk_pcie_phy_driver, rk_pcie_phy_methods,
static DEFINE_CLASS_0(rk_tsadc, rk_tsadc_driver, rk_tsadc_methods,
static DEFINE_CLASS_0(rk_usbphy, rk_usbphy_driver, rk_usbphy_methods,
DEFINE_CLASS_0(spe, arm_spe_driver, arm_spe_methods,
DEFINE_CLASS_0(vgic, vgic_v3_driver, vgic_v3_methods, 0);
DEFINE_CLASS_0(vtimer, vtimer_driver, vtimer_methods,
static DEFINE_CLASS_0(armv8crypto, armv8_crypto_driver, armv8_crypto_methods,
DEFINE_CLASS_0(pcib, acpi_pcib_acpi_driver, acpi_pcib_acpi_methods,
DEFINE_CLASS_0(axgbe, axgbe_driver, axgbe_methods,
DEFINE_CLASS_0(axgbephy, axgbephy_driver, axgbephy_methods, 0);
DEFINE_CLASS_0(bhnd, bhnd_driver, bhnd_methods, sizeof(struct bhnd_softc));
DEFINE_CLASS_0(name, classvar, methods, size); \
DEFINE_CLASS_0(bhnd, bhnd_bhndb_driver, bhnd_bhndb_methods, 0);
DEFINE_CLASS_0(bhndb, bhndb_driver, bhndb_methods, sizeof(struct bhndb_softc));
DEFINE_CLASS_0(bhnd_chipc, bhnd_chipc_driver, chipc_methods, sizeof(struct chipc_softc));
DEFINE_CLASS_0(gpio, chipc_gpio_driver, chipc_gpio_methods, sizeof(struct chipc_gpio_softc));
DEFINE_CLASS_0(bhnd_pwrctl, bhnd_pwrctl_driver, bhnd_pwrctl_methods,
DEFINE_CLASS_0(bhnd_pci, bhnd_pci_driver, bhnd_pci_methods, sizeof(struct bhnd_pci_softc));
DEFINE_CLASS_0(bhnd_pcie2, bhnd_pcie2_driver, bhnd_pcie2_methods,
DEFINE_CLASS_0(bhnd_pmu, bhnd_pmu_driver, bhnd_pmu_methods, sizeof(struct bhnd_pmu_softc));
DEFINE_CLASS_0(bhnd_nvram_store, bhnd_sprom_driver, bhnd_sprom_methods, sizeof(struct bhnd_sprom_softc));
DEFINE_CLASS_0(bwn_pci, bwn_pci_driver, bwn_pci_methods,
DEFINE_CLASS_0(aw_ccung, aw_ccung_driver, aw_ccung_methods,
DEFINE_CLASS_0(clknode, clknode_class, clknode_methods, 0);
DEFINE_CLASS_0(clk_fixed, clk_fixed_driver, clk_fixed_methods,
DEFINE_CLASS_0(rk_cru, rk_cru_driver, rk_cru_methods,
DEFINE_CLASS_0(jh7110_aon, jh7110_aon_driver, jh7110_clk_aon_methods,
DEFINE_CLASS_0(jh7110_clk_pll, jh7110_clk_pll_driver, jh7110_clk_pll_methods,
DEFINE_CLASS_0(jh7110_stg, jh7110_stg_driver, jh7110_clk_stg_methods,
DEFINE_CLASS_0(jh7110_clk_sys, jh7110_clk_sys_driver, jh7110_clk_sys_methods,
DEFINE_CLASS_0(da9063_rtc, da9063_rtc_driver, da9063_rtc_methods,
DEFINE_CLASS_0(dpaa2_cons_acpi, dpaa2_cons_acpi_driver, dpaa2_cons_acpi_methods,
DEFINE_CLASS_0(dpaa2_cons_fdt, dpaa2_cons_fdt_driver, dpaa2_cons_fdt_methods,
DEFINE_CLASS_0(dpaa2_mc, dpaa2_mc_driver, dpaa2_mc_methods,
DEFINE_CLASS_0(dpaa2_mac_dev, dpaa2_mac_dev_driver, dpaa2_mac_dev_methods,
DEFINE_CLASS_0(dpaa2_mac_fdt, dpaa2_mac_fdt_driver, dpaa2_mac_fdt_methods,
DEFINE_CLASS_0(memacphy_acpi, memacphy_acpi_driver, memacphy_acpi_methods,
DEFINE_CLASS_0(memac_mdio_acpi, memac_mdio_acpi_driver, memac_mdio_acpi_methods,
DEFINE_CLASS_0(memacphy_fdt, memacphy_fdt_driver, memacphy_fdt_methods,
DEFINE_CLASS_0(memac_mdio_fdt, memac_mdio_fdt_driver, memac_mdio_fdt_methods,
DEFINE_CLASS_0(ar40xx, ar40xx_driver, ar40xx_methods,
DEFINE_CLASS_0(arswitch, arswitch_driver, arswitch_methods,
DEFINE_CLASS_0(e6000sw, e6000sw_driver, e6000sw_methods,
DEFINE_CLASS_0(e6060sw, e6060sw_driver, e6060sw_methods,
DEFINE_CLASS_0(felix, felix_driver, felix_methods,
DEFINE_CLASS_0(adm6996fc, adm6996fc_driver, adm6996fc_methods,
DEFINE_CLASS_0(ip17x, ip17x_driver, ip17x_methods,
DEFINE_CLASS_0(ksz8995ma, ksz8995ma_driver, ksz8995ma_methods,
DEFINE_CLASS_0(miiproxy, miiproxy_driver, miiproxy_methods,
DEFINE_CLASS_0(mdioproxy, mdioproxy_driver, mdioproxy_methods,
DEFINE_CLASS_0(mtkswitch, mtkswitch_driver, mtkswitch_methods,
DEFINE_CLASS_0(rtl8366rb, rtl8366rb_driver, rtl8366rb_methods,
DEFINE_CLASS_0(ukswitch, ukswitch_driver, ukswitch_methods,
DEFINE_CLASS_0(simplebus, simplebus_driver, simplebus_methods,
DEFINE_CLASS_0(goldfish_rtc, goldfish_rtc_driver, goldfish_rtc_methods,
DEFINE_CLASS_0(gpio_aei, gpio_aei_driver, gpio_aei_methods, sizeof(struct gpio_aei_softc));
DEFINE_CLASS_0(gpioths, gpioths_driver, gpioths_methods, sizeof(struct gpioths_softc));
DEFINE_CLASS_0(gpio, pl061_driver, pl061_methods, sizeof(struct pl061_softc));
DEFINE_CLASS_0(gpio, qoriq_gpio_driver, qoriq_gpio_methods,
DEFINE_CLASS_0(hcons, hcons_driver, hcons_methods, sizeof(struct hidmap));
DEFINE_CLASS_0(hgame, hgame_driver, hgame_methods, sizeof(struct hgame_softc));
DEFINE_CLASS_0(hms, hms_driver, hms_methods, sizeof(struct hms_softc));
DEFINE_CLASS_0(hpen, hpen_driver, hpen_methods, sizeof(struct hidmap));
DEFINE_CLASS_0(hsctrl, hsctrl_driver, hsctrl_methods, sizeof(struct hidmap));
DEFINE_CLASS_0(ps4dsacc, ps4dsacc_driver, ps4dsacc_methods,
DEFINE_CLASS_0(ps4dshead, ps4dshead_driver, ps4dshead_methods,
DEFINE_CLASS_0(ps4dsmtp, ps4dsmtp_driver, ps4dsmtp_methods,
DEFINE_CLASS_0(ps4dshock, ps4dshock_driver, ps4dshock_methods,
DEFINE_CLASS_0(xb360gp, xb360gp_driver, xb360gp_methods,
DEFINE_CLASS_0(pcib, vmbus_pcib_driver, vmbus_pcib_methods,
DEFINE_CLASS_0(ice_rdma_di, ice_rdma_di_class, ice_rdma_di_methods, sizeof(struct ice_rdma_peer));
DEFINE_CLASS_0(twsi, twsi_driver, twsi_methods,
DEFINE_CLASS_0(iicmux, iicmux_driver, iicmux_methods,
static DEFINE_CLASS_0(act8846_pmu, act8846_driver, act8846_methods,
static DEFINE_CLASS_0(fan53555_pmic, fan53555_driver, fan53555_methods,
DEFINE_CLASS_0(rk8xx, rk8xx_driver, rk8xx_methods,
static DEFINE_CLASS_0(hym8563_rtc, hym8563_driver, hym8563_methods,
DEFINE_CLASS_0(mge, mge_driver, mge_methods, sizeof(struct mge_softc));
DEFINE_CLASS_0(miibus, miibus_driver, miibus_methods, sizeof(struct mii_data));
DEFINE_CLASS_0(dwmmc, dwmmc_driver, dwmmc_methods,
DEFINE_CLASS_0(mvneta, mvneta_driver, mvneta_methods, sizeof(struct mvneta_softc));
static DEFINE_CLASS_0(ntb, ntb_net_driver, ntb_net_methods,
static DEFINE_CLASS_0(ntb_hw, ntb_amd_driver, ntb_amd_methods,
static DEFINE_CLASS_0(ntb_hw, ntb_intel_driver, ntb_intel_methods,
static DEFINE_CLASS_0(ntb_hw, ntb_plx_driver, ntb_plx_methods,
static DEFINE_CLASS_0(ntb_transport, ntb_transport_driver,
static DEFINE_CLASS_0(ntb_tool, ntb_tool_driver, ntb_tool_methods,
DEFINE_CLASS_0(ofw_pcib, ofw_pcib_driver, ofw_pcib_methods, 0);
DEFINE_CLASS_0(p2sb, p2sb_driver, p2sb_methods, sizeof(struct p2sb_softc));
DEFINE_CLASS_0(pci, pci_driver, pci_methods, sizeof(struct pci_softc));
DEFINE_CLASS_0(pcib, generic_pcie_core_driver,
DEFINE_CLASS_0(pcib, pcib_driver, pcib_methods, sizeof(struct pcib_softc));
DEFINE_CLASS_0(phynode, phynode_class, phynode_methods, 0);
DEFINE_CLASS_0(regnode, regnode_class, regnode_methods, 0);
DEFINE_CLASS_0(regfix, regfix_driver, regfix_methods,
DEFINE_CLASS_0(rtsx, rtsx_driver, rtsx_methods, sizeof(struct rtsx_softc));
DEFINE_CLASS_0(sdhci_xenon, sdhci_xenon_driver, sdhci_xenon_methods,
DEFINE_CLASS_0(sfp_fdt, sfp_fdt_driver, sfp_fdt_methods,
DEFINE_CLASS_0(syscon, syscon_class, syscon_methods, 0);
DEFINE_CLASS_0(syscon_power, syscon_power_driver, syscon_power_methods,
DEFINE_CLASS_0(tpm_lbc, tpm_bus_driver, tpm_bus_methods, sizeof(struct tpm_sc));
DEFINE_CLASS_0(tpm_spi, tpm_spi_driver, tpm_spibus_methods,
DEFINE_CLASS_0(tpmtis, tpmtis_driver, tpmtis_methods, sizeof(struct tpm_sc));
DEFINE_CLASS_0(xhci, xhci_pci_driver, xhci_device_methods,
DEFINE_CLASS_0(virtio_mmio, vtmmio_driver, vtmmio_methods,
DEFINE_CLASS_0(pcib, vmd_pci_driver, vmd_pci_methods, sizeof(struct vmd_softc));
DEFINE_CLASS_0(mrmlbus, mrmlbus_fdt_driver, mrmlbus_fdt_methods,
DEFINE_CLASS_0(thunder_mdio, thunder_mdio_driver, thunder_mdio_methods,
DEFINE_CLASS_0(mdionexus, mdionexus_fdt_driver, mdionexus_fdt_methods,
DEFINE_CLASS_0(vtvga, vtvga_driver, vtvga_methods, 0);
DEFINE_CLASS_0(xenballoon, xenballoon_driver, xenballoon_methods, 0);
DEFINE_CLASS_0(xctrl, xctrl_driver, xctrl_methods, sizeof(struct xctrl_softc));
DEFINE_CLASS_0(granttable, granttable_driver, granttable_methods, 0);
DEFINE_CLASS_0(pcib, xpcib_driver, xpcib_methods, sizeof(struct xpcib_softc));
DEFINE_CLASS_0(xenstore, xenstore_driver, xenstore_methods, 0);
DEFINE_CLASS_0(xs_dev, xs_dev_driver, xs_dev_methods, 0);
DEFINE_CLASS_0(xsd_dev, xsd_dev_driver, xsd_dev_methods, 0);
DEFINE_CLASS_0(isa, isa_driver, isa_methods, 0);
DEFINE_CLASS_0(ram, ram_driver, ram_methods, /* no softc */ 1);
DEFINE_CLASS_0(mpc85xx, mpc85xx_platform, mpc85xx_methods, 0);
DEFINE_CLASS_0(opal_i2cm, opal_i2cm_driver, opal_i2cm_methods,
DEFINE_CLASS_0(powernv_centaur, powernv_centaur_driver, powernv_centaur_methods,
DEFINE_CLASS_0(powernv_xscom, powernv_xscom_driver, powernv_xscom_methods,
DEFINE_CLASS_0(nexus, nexus_driver, nexus_methods, 1);
DEFINE_CLASS_0(openpic, openpic_class, openpic_methods,
DEFINE_CLASS_0(cvitek_restart, cvitek_restart_driver, cvitek_restart_methods,
DEFINE_CLASS_0(aplic, aplic_driver, aplic_methods, sizeof(struct aplic_softc));
DEFINE_CLASS_0(intc, intc_driver, intc_methods, sizeof(struct intc_softc));
DEFINE_CLASS_0(sbi, sbi_driver, sbi_methods, sizeof(struct sbi_softc));
DEFINE_CLASS_0(sbi_ipi, sbi_ipi_driver, sbi_ipi_methods,
DEFINE_CLASS_0(gpio, sfgpio_driver, sfgpio_methods,
DEFINE_CLASS_0(gpio, jh7110_gpio_driver, jh7110_gpio_methods,
DEFINE_CLASS_0(name, name ## _class, methods, size)
DEFINE_CLASS_0(pcib, legacy_pcib_driver, legacy_pcib_methods, 1);
DEFINE_CLASS_0(pcibus_pnp, pcibus_pnp_driver, pcibus_pnp_methods, 1);
DEFINE_CLASS_0(qpi, qpi_driver, qpi_methods, 0);
DEFINE_CLASS_0(pcib, qpi_pcib_driver, qpi_pcib_methods, 0);
DEFINE_CLASS_0(ioapic, ioapic_pci_driver, ioapic_pci_methods, 0);
DEFINE_CLASS_0(apic, apic_driver, apic_methods, 0);
DEFINE_CLASS_0(pcib, mptable_hostb_driver, mptable_hostb_methods,
DEFINE_CLASS_0(nexus, nexus_driver, nexus_methods, 1);
DEFINE_CLASS_0(xenbusb_back, xenbusb_back_driver, xenbusb_back_methods,
DEFINE_CLASS_0(xenbusb_front, xenbusb_front_driver, xenbusb_front_methods,