Deleted Added
full compact
bktr_os.c (139919) bktr_os.c (143163)
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:

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

27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#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:

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

27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/dev/bktr/bktr_os.c 139919 2005-01-08 22:52:00Z imp $");
35__FBSDID("$FreeBSD: head/sys/dev/bktr/bktr_os.c 143163 2005-03-05 19:06:12Z imp $");
36
37/*
38 * This is part of the Driver for Video Capture Cards (Frame grabbers)
39 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
40 * chipset.
41 * Copyright Roger Hardiman and Amancio Hasty.
42 *
43 * bktr_os : This has all the Operating System dependant code,

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

280 if (PCI_VENDOR(type) == PCI_VENDOR_BROOKTREE)
281 {
282 switch (PCI_PRODUCT(type)) {
283 case PCI_PRODUCT_BROOKTREE_BT848:
284 if (rev == 0x12)
285 device_set_desc(dev, "BrookTree 848A");
286 else
287 device_set_desc(dev, "BrookTree 848");
36
37/*
38 * This is part of the Driver for Video Capture Cards (Frame grabbers)
39 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
40 * chipset.
41 * Copyright Roger Hardiman and Amancio Hasty.
42 *
43 * bktr_os : This has all the Operating System dependant code,

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

280 if (PCI_VENDOR(type) == PCI_VENDOR_BROOKTREE)
281 {
282 switch (PCI_PRODUCT(type)) {
283 case PCI_PRODUCT_BROOKTREE_BT848:
284 if (rev == 0x12)
285 device_set_desc(dev, "BrookTree 848A");
286 else
287 device_set_desc(dev, "BrookTree 848");
288 return 0;
288 return BUS_PROBE_DEFAULT;
289 case PCI_PRODUCT_BROOKTREE_BT849:
290 device_set_desc(dev, "BrookTree 849A");
289 case PCI_PRODUCT_BROOKTREE_BT849:
290 device_set_desc(dev, "BrookTree 849A");
291 return 0;
291 return BUS_PROBE_DEFAULT;
292 case PCI_PRODUCT_BROOKTREE_BT878:
293 device_set_desc(dev, "BrookTree 878");
292 case PCI_PRODUCT_BROOKTREE_BT878:
293 device_set_desc(dev, "BrookTree 878");
294 return 0;
294 return BUS_PROBE_DEFAULT;
295 case PCI_PRODUCT_BROOKTREE_BT879:
296 device_set_desc(dev, "BrookTree 879");
295 case PCI_PRODUCT_BROOKTREE_BT879:
296 device_set_desc(dev, "BrookTree 879");
297 return 0;
297 return BUS_PROBE_DEFAULT;
298 }
299 };
300
301 return ENXIO;
302}
303
304
305/*

--- 1016 unchanged lines hidden ---
298 }
299 };
300
301 return ENXIO;
302}
303
304
305/*

--- 1016 unchanged lines hidden ---