bcm2835_sdhci.c (331722) | bcm2835_sdhci.c (343504) |
---|---|
1/*- 2 * Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: stable/11/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c 331722 2018-03-29 02:50:57Z eadler $"); | 28__FBSDID("$FreeBSD: stable/11/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c 343504 2019-01-27 19:04:28Z marius $"); |
29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> 35#include <sys/malloc.h> 36#include <sys/module.h> --- 637 unchanged lines hidden (view full) --- 674static driver_t bcm_sdhci_driver = { 675 "sdhci_bcm", 676 bcm_sdhci_methods, 677 sizeof(struct bcm_sdhci_softc), 678}; 679 680DRIVER_MODULE(sdhci_bcm, simplebus, bcm_sdhci_driver, bcm_sdhci_devclass, 681 NULL, NULL); | 29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/bus.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> 35#include <sys/malloc.h> 36#include <sys/module.h> --- 637 unchanged lines hidden (view full) --- 674static driver_t bcm_sdhci_driver = { 675 "sdhci_bcm", 676 bcm_sdhci_methods, 677 sizeof(struct bcm_sdhci_softc), 678}; 679 680DRIVER_MODULE(sdhci_bcm, simplebus, bcm_sdhci_driver, bcm_sdhci_devclass, 681 NULL, NULL); |
682MODULE_DEPEND(sdhci_bcm, sdhci, 1, 1, 1); | 682SDHCI_DEPEND(sdhci_bcm); |
683MMC_DECLARE_BRIDGE(sdhci_bcm); | 683MMC_DECLARE_BRIDGE(sdhci_bcm); |