ti_sdma.c (256281) | ti_sdma.c (266152) |
---|---|
1/*- 2 * Copyright (c) 2011 3 * Ben Gray <ben.r.gray@gmail.com>. 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: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2011 3 * Ben Gray <ben.r.gray@gmail.com>. 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: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_sdma.c 239281 2012-08-15 06:31:32Z gonzo $"); | 29__FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_sdma.c 266152 2014-05-15 16:11:06Z ian $"); |
30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/bus.h> 34#include <sys/kernel.h> 35#include <sys/lock.h> 36#include <sys/interrupt.h> 37#include <sys/module.h> --- 1084 unchanged lines hidden (view full) --- 1122 * 1123 * 1124 * RETURNS: 1125 * Always returns 0. 1126 */ 1127static int 1128ti_sdma_probe(device_t dev) 1129{ | 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/bus.h> 34#include <sys/kernel.h> 35#include <sys/lock.h> 36#include <sys/interrupt.h> 37#include <sys/module.h> --- 1084 unchanged lines hidden (view full) --- 1122 * 1123 * 1124 * RETURNS: 1125 * Always returns 0. 1126 */ 1127static int 1128ti_sdma_probe(device_t dev) 1129{ |
1130 1131 if (!ofw_bus_status_okay(dev)) 1132 return (ENXIO); 1133 |
|
1130 if (!ofw_bus_is_compatible(dev, "ti,sdma")) 1131 return (ENXIO); 1132 1133 device_set_desc(dev, "TI sDMA Controller"); 1134 return (0); 1135} 1136 1137/** --- 109 unchanged lines hidden --- | 1134 if (!ofw_bus_is_compatible(dev, "ti,sdma")) 1135 return (ENXIO); 1136 1137 device_set_desc(dev, "TI sDMA Controller"); 1138 return (0); 1139} 1140 1141/** --- 109 unchanged lines hidden --- |