Deleted Added
full compact
bktr_os.c (111815) bktr_os.c (112569)
1/* $FreeBSD: head/sys/dev/bktr/bktr_os.c 111815 2003-03-03 12:15:54Z phk $ */
1/* $FreeBSD: head/sys/dev/bktr/bktr_os.c 112569 2003-03-25 00:07:06Z jake $ */
2
3/*
4 * This is part of the Driver for Video Capture Cards (Frame grabbers)
5 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
6 * chipset.
7 * Copyright Roger Hardiman and Amancio Hasty.
8 *
9 * bktr_os : This has all the Operating System dependant code,

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

744 return( ENXIO );
745}
746
747
748/*
749 *
750 */
751static int
2
3/*
4 * This is part of the Driver for Video Capture Cards (Frame grabbers)
5 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
6 * chipset.
7 * Copyright Roger Hardiman and Amancio Hasty.
8 *
9 * bktr_os : This has all the Operating System dependant code,

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

744 return( ENXIO );
745}
746
747
748/*
749 *
750 */
751static int
752bktr_mmap( dev_t dev, vm_offset_t offset, vm_offset_t *paddr, int nprot )
752bktr_mmap( dev_t dev, vm_offset_t offset, vm_paddr_t *paddr, int nprot )
753{
754 int unit;
755 bktr_ptr_t bktr;
756
757 unit = UNIT(minor(dev));
758
759 if (FUNCTION(minor(dev)) > 0) /* only allow mmap on /dev/bktr[n] */
760 return( -1 );

--- 531 unchanged lines hidden ---
753{
754 int unit;
755 bktr_ptr_t bktr;
756
757 unit = UNIT(minor(dev));
758
759 if (FUNCTION(minor(dev)) > 0) /* only allow mmap on /dev/bktr[n] */
760 return( -1 );

--- 531 unchanged lines hidden ---