-# $OpenBSD: GENERIC,v 1.29 2016/07/10 14:01:10 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.30 2016/07/12 15:16:00 kettenis Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
imxesdhc* at fdt? # SDHC controller
sdmmc* at imxesdhc? # SD/MMC bus
ahci* at fdt? # AHCI/SATA
-ehci* at fdt? # EHCI (shim)
-usb* at ehci?
+imxehci* at fdt? # EHCI
+usb* at imxehci?
# OMAP3xxx/OMAP4xxx SoC
omap0 at mainbus?
-# $OpenBSD: files.imx,v 1.13 2016/07/10 14:01:10 kettenis Exp $
+# $OpenBSD: files.imx,v 1.14 2016/07/12 15:16:00 kettenis Exp $
define imx {}
device imx: imx
attach fec at fdt
file arch/armv7/imx/if_fec.c fec
-attach ehci at fdt with imxehci
+device imxehci: usbus
+attach imxehci at fdt
file arch/armv7/imx/imxehci.c imxehci
device imxesdhc: sdmmcbus
-/* $OpenBSD: imxehci.c,v 1.11 2016/07/10 11:46:28 kettenis Exp $ */
+/* $OpenBSD: imxehci.c,v 1.12 2016/07/12 15:16:00 kettenis Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
imxehci_detach
};
+struct cfdriver imxehci_cd = {
+ NULL, "imxehci", DV_DULL
+};
+
int
imxehci_match(struct device *parent, void *match, void *aux)
{