Deleted Added
full compact
tdfx_pci.c (119690) tdfx_pci.c (126076)
1/*-
2 * Copyright (c) 2000-2001 by Coleman Kane <cokane@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

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

25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2000-2001 by Coleman Kane <cokane@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

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

25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/dev/tdfx/tdfx_pci.c 119690 2003-09-02 17:30:40Z jhb $");
33__FBSDID("$FreeBSD: head/sys/dev/tdfx/tdfx_pci.c 126076 2004-02-21 19:42:58Z phk $");
34
35/* 3dfx driver for FreeBSD 4.x - Finished 11 May 2000, 12:25AM ET
36 *
37 * Copyright (C) 2000-2001, by Coleman Kane <cokane@FreeBSD.org>,
38 * based upon the 3dfx driver written for linux, by Daryll Straus, Jon Taylor,
39 * and Jens Axboe, located at http://linux.3dfx.com.
40 */
41

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

104
105/* Char. Dev. file operations structure */
106static struct cdevsw tdfx_cdev = {
107 .d_open = tdfx_open,
108 .d_close = tdfx_close,
109 .d_ioctl = tdfx_ioctl,
110 .d_mmap = tdfx_mmap,
111 .d_name = "tdfx",
34
35/* 3dfx driver for FreeBSD 4.x - Finished 11 May 2000, 12:25AM ET
36 *
37 * Copyright (C) 2000-2001, by Coleman Kane <cokane@FreeBSD.org>,
38 * based upon the 3dfx driver written for linux, by Daryll Straus, Jon Taylor,
39 * and Jens Axboe, located at http://linux.3dfx.com.
40 */
41

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

104
105/* Char. Dev. file operations structure */
106static struct cdevsw tdfx_cdev = {
107 .d_open = tdfx_open,
108 .d_close = tdfx_close,
109 .d_ioctl = tdfx_ioctl,
110 .d_mmap = tdfx_mmap,
111 .d_name = "tdfx",
112 .d_maj = CDEV_MAJOR,
113};
114
115static int
116tdfx_probe(device_t dev)
117{
118 /*
119 * probe routine called on kernel boot to register supported devices. We get
120 * a device structure to work with, and we can test the VENDOR/DEVICE IDs to

--- 745 unchanged lines hidden ---
112};
113
114static int
115tdfx_probe(device_t dev)
116{
117 /*
118 * probe routine called on kernel boot to register supported devices. We get
119 * a device structure to work with, and we can test the VENDOR/DEVICE IDs to

--- 745 unchanged lines hidden ---