Deleted Added
full compact
bktr_core.c (129755) bktr_core.c (130585)
1/*-
2 * 1. Redistributions of source code must retain the
3 * Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
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:

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

58 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
59 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
60 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
61 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
62 * POSSIBILITY OF SUCH DAMAGE.
63 */
64
65#include <sys/cdefs.h>
1/*-
2 * 1. Redistributions of source code must retain the
3 * Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
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:

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

58 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
59 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
60 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
61 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
62 * POSSIBILITY OF SUCH DAMAGE.
63 */
64
65#include <sys/cdefs.h>
66__FBSDID("$FreeBSD: head/sys/dev/bktr/bktr_core.c 129755 2004-05-26 20:18:58Z josef $");
66__FBSDID("$FreeBSD: head/sys/dev/bktr/bktr_core.c 130585 2004-06-16 09:47:26Z phk $");
67
68/*
69 * This is part of the Driver for Video Capture Cards (Frame grabbers)
70 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
71 * chipset.
72 * Copyright Roger Hardiman and Amancio Hasty.
73 *
74 * bktr_core : This deals with the Bt848/849/878/879 PCI Frame Grabber,

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

1186
1187 return( 0 );
1188}
1189
1190/*
1191 *
1192 */
1193int
67
68/*
69 * This is part of the Driver for Video Capture Cards (Frame grabbers)
70 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
71 * chipset.
72 * Copyright Roger Hardiman and Amancio Hasty.
73 *
74 * bktr_core : This deals with the Bt848/849/878/879 PCI Frame Grabber,

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

1186
1187 return( 0 );
1188}
1189
1190/*
1191 *
1192 */
1193int
1194video_read(bktr_ptr_t bktr, int unit, dev_t dev, struct uio *uio)
1194video_read(bktr_ptr_t bktr, int unit, struct cdev *dev, struct uio *uio)
1195{
1196 int status;
1197 int count;
1198
1199
1200 if (bktr->bigbuf == 0) /* no frame buffer allocated (ioctl failed) */
1201 return( ENOMEM );
1202

--- 3118 unchanged lines hidden ---
1195{
1196 int status;
1197 int count;
1198
1199
1200 if (bktr->bigbuf == 0) /* no frame buffer allocated (ioctl failed) */
1201 return( ENOMEM );
1202

--- 3118 unchanged lines hidden ---