Deleted Added
full compact
tdfx_pci.c (142880) tdfx_pci.c (151897)
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 142880 2005-03-01 07:50:12Z imp $");
33__FBSDID("$FreeBSD: head/sys/dev/tdfx/tdfx_pci.c 151897 2005-10-31 15:41:29Z rwatson $");
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

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

91static device_method_t tdfx_methods[] = {
92 DEVMETHOD(device_probe, tdfx_probe),
93 DEVMETHOD(device_attach, tdfx_attach),
94 DEVMETHOD(device_detach, tdfx_detach),
95 DEVMETHOD(device_shutdown, tdfx_shutdown),
96 { 0, 0 }
97};
98
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

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

91static device_method_t tdfx_methods[] = {
92 DEVMETHOD(device_probe, tdfx_probe),
93 DEVMETHOD(device_attach, tdfx_attach),
94 DEVMETHOD(device_detach, tdfx_detach),
95 DEVMETHOD(device_shutdown, tdfx_shutdown),
96 { 0, 0 }
97};
98
99MALLOC_DEFINE(M_TDFX,"TDFX Driver","3DFX Graphics[/2D]/3D Accelerator(s)");
99MALLOC_DEFINE(M_TDFX,"tdfx_driver","3DFX Graphics[/2D]/3D Accelerator(s)");
100
101#ifdef TDFX_LINUX
102MODULE_DEPEND(tdfx, linux, 1, 1, 1);
103LINUX_IOCTL_SET(tdfx, LINUX_IOCTL_TDFX_MIN, LINUX_IOCTL_TDFX_MAX);
104#endif
105
106/* Char. Dev. file operations structure */
107static struct cdevsw tdfx_cdev = {

--- 756 unchanged lines hidden ---
100
101#ifdef TDFX_LINUX
102MODULE_DEPEND(tdfx, linux, 1, 1, 1);
103LINUX_IOCTL_SET(tdfx, LINUX_IOCTL_TDFX_MIN, LINUX_IOCTL_TDFX_MAX);
104#endif
105
106/* Char. Dev. file operations structure */
107static struct cdevsw tdfx_cdev = {

--- 756 unchanged lines hidden ---