sdhci_fdt.c (337858) | sdhci_fdt.c (343504) |
---|---|
1/*- 2 * Copyright (c) 2012 Thomas Skibo 3 * Copyright (c) 2008 Alexander Motin <mav@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27/* Generic driver to attach sdhci controllers on simplebus. 28 * Derived mainly from sdhci_pci.c 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2012 Thomas Skibo 3 * Copyright (c) 2008 Alexander Motin <mav@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27/* Generic driver to attach sdhci controllers on simplebus. 28 * Derived mainly from sdhci_pci.c 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: stable/11/sys/dev/sdhci/sdhci_fdt.c 337858 2018-08-15 16:27:52Z loos $"); | 32__FBSDID("$FreeBSD: stable/11/sys/dev/sdhci/sdhci_fdt.c 343504 2019-01-27 19:04:28Z marius $"); |
33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/bus.h> 37#include <sys/kernel.h> 38#include <sys/lock.h> 39#include <sys/module.h> 40#include <sys/mutex.h> --- 279 unchanged lines hidden (view full) --- 320 "sdhci_fdt", 321 sdhci_fdt_methods, 322 sizeof(struct sdhci_fdt_softc), 323}; 324static devclass_t sdhci_fdt_devclass; 325 326DRIVER_MODULE(sdhci_fdt, simplebus, sdhci_fdt_driver, sdhci_fdt_devclass, 327 NULL, NULL); | 33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/bus.h> 37#include <sys/kernel.h> 38#include <sys/lock.h> 39#include <sys/module.h> 40#include <sys/mutex.h> --- 279 unchanged lines hidden (view full) --- 320 "sdhci_fdt", 321 sdhci_fdt_methods, 322 sizeof(struct sdhci_fdt_softc), 323}; 324static devclass_t sdhci_fdt_devclass; 325 326DRIVER_MODULE(sdhci_fdt, simplebus, sdhci_fdt_driver, sdhci_fdt_devclass, 327 NULL, NULL); |
328MODULE_DEPEND(sdhci_fdt, sdhci, 1, 1, 1); | 328SDHCI_DEPEND(sdhci_fdt); |
329MMC_DECLARE_BRIDGE(sdhci_fdt); | 329MMC_DECLARE_BRIDGE(sdhci_fdt); |