Deleted Added
full compact
bcm2835_fb.c (266000) bcm2835_fb.c (266160)
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/10/sys/arm/broadcom/bcm2835/bcm2835_fb.c 266000 2014-05-14 01:53:20Z ian $");
28__FBSDID("$FreeBSD: stable/10/sys/arm/broadcom/bcm2835/bcm2835_fb.c 266160 2014-05-15 17:30:16Z ian $");
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bio.h>
33#include <sys/bus.h>
34#include <sys/conf.h>
35#include <sys/endian.h>
36#include <sys/kernel.h>

--- 319 unchanged lines hidden (view full) ---

356static devclass_t bcm_fb_devclass;
357
358static driver_t bcm_fb_driver = {
359 "fb",
360 bcm_fb_methods,
361 sizeof(struct bcmsc_softc),
362};
363
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bio.h>
33#include <sys/bus.h>
34#include <sys/conf.h>
35#include <sys/endian.h>
36#include <sys/kernel.h>

--- 319 unchanged lines hidden (view full) ---

356static devclass_t bcm_fb_devclass;
357
358static driver_t bcm_fb_driver = {
359 "fb",
360 bcm_fb_methods,
361 sizeof(struct bcmsc_softc),
362};
363
364DRIVER_MODULE(bcm2835fb, nexus, bcm_fb_driver, bcm_fb_devclass, 0, 0);
364DRIVER_MODULE(bcm2835fb, ofwbus, bcm_fb_driver, bcm_fb_devclass, 0, 0);
365
366/*
367 * Video driver routines and glue.
368 */
369static vi_probe_t bcmfb_probe;
370static vi_init_t bcmfb_init;
371static vi_get_info_t bcmfb_get_info;
372static vi_query_mode_t bcmfb_query_mode;

--- 626 unchanged lines hidden ---
365
366/*
367 * Video driver routines and glue.
368 */
369static vi_probe_t bcmfb_probe;
370static vi_init_t bcmfb_init;
371static vi_get_info_t bcmfb_get_info;
372static vi_query_mode_t bcmfb_query_mode;

--- 626 unchanged lines hidden ---