Deleted Added
full compact
xboxfb.c (174985) xboxfb.c (201223)
1/*-
2 * Copyright (c) 2005, 2006 Rink Springer <rink@il.fontys.nl>
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

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

21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005, 2006 Rink Springer <rink@il.fontys.nl>
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

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

21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/i386/xbox/xboxfb.c 174985 2007-12-29 23:26:59Z wkoszek $");
29__FBSDID("$FreeBSD: head/sys/i386/xbox/xboxfb.c 201223 2009-12-29 21:51:28Z rnoland $");
30
31/*
32 * This is the syscon(4)-ized version of the Xbox Frame Buffer driver. It
33 * supports about all features required, such as mouse support.
34 *
35 * A lot of functions that are not useful to us have not been implemented.
36 * It appears that some functions are never called, but these implementations
37 * are here nevertheless.

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

516
517static int
518xboxfb_blank_display(video_adapter_t *adp, int mode)
519{
520 return (0);
521}
522
523static int
30
31/*
32 * This is the syscon(4)-ized version of the Xbox Frame Buffer driver. It
33 * supports about all features required, such as mouse support.
34 *
35 * A lot of functions that are not useful to us have not been implemented.
36 * It appears that some functions are never called, but these implementations
37 * are here nevertheless.

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

516
517static int
518xboxfb_blank_display(video_adapter_t *adp, int mode)
519{
520 return (0);
521}
522
523static int
524xboxfb_mmap(video_adapter_t *adp, vm_offset_t offset, vm_paddr_t *paddr,
525 int prot)
524xboxfb_mmap(video_adapter_t *adp, vm_ooffset_t offset, vm_paddr_t *paddr,
525 int prot, vm_memattr_t *memattr)
526{
527 return (EINVAL);
528}
529
530static int
531xboxfb_ioctl(video_adapter_t *adp, u_long cmd, caddr_t data)
532{
533 return (fb_commonioctl(adp, cmd, data));

--- 122 unchanged lines hidden ---
526{
527 return (EINVAL);
528}
529
530static int
531xboxfb_ioctl(video_adapter_t *adp, u_long cmd, caddr_t data)
532{
533 return (fb_commonioctl(adp, cmd, data));

--- 122 unchanged lines hidden ---