Deleted Added
full compact
mach64_drv.c (152909) mach64_drv.c (153579)
1/* mach64_drv.c -- ATI Rage 128 driver -*- linux-c -*-
2 * Created: Mon Dec 13 09:47:27 1999 by faith@precisioninsight.com
3 */
4/*-
5 * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
6 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
7 * All Rights Reserved.
8 *

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

26 * OTHER DEALINGS IN THE SOFTWARE.
27 *
28 * Authors:
29 * Rickard E. (Rik) Faith <faith@valinux.com>
30 * Gareth Hughes <gareth@valinux.com>
31 */
32
33#include <sys/cdefs.h>
1/* mach64_drv.c -- ATI Rage 128 driver -*- linux-c -*-
2 * Created: Mon Dec 13 09:47:27 1999 by faith@precisioninsight.com
3 */
4/*-
5 * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
6 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
7 * All Rights Reserved.
8 *

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

26 * OTHER DEALINGS IN THE SOFTWARE.
27 *
28 * Authors:
29 * Rickard E. (Rik) Faith <faith@valinux.com>
30 * Gareth Hughes <gareth@valinux.com>
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/drm/mach64_drv.c 152909 2005-11-28 23:13:57Z anholt $");
34__FBSDID("$FreeBSD: head/sys/dev/drm/mach64_drv.c 153579 2005-12-20 22:44:36Z jhb $");
35
36
37#include <sys/types.h>
38
39#include "dev/drm/drmP.h"
40#include "dev/drm/drm.h"
41#include "dev/drm/mach64_drm.h"
42#include "dev/drm/mach64_drv.h"

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

104
105static driver_t mach64_driver = {
106 "drm",
107 mach64_methods,
108 sizeof(drm_device_t)
109};
110
111extern devclass_t drm_devclass;
35
36
37#include <sys/types.h>
38
39#include "dev/drm/drmP.h"
40#include "dev/drm/drm.h"
41#include "dev/drm/mach64_drm.h"
42#include "dev/drm/mach64_drv.h"

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

104
105static driver_t mach64_driver = {
106 "drm",
107 mach64_methods,
108 sizeof(drm_device_t)
109};
110
111extern devclass_t drm_devclass;
112#if __FreeBSD_version >= 700010
113DRIVER_MODULE(mach64, vgapci, mach64_driver, drm_devclass, 0, 0);
114#else
112DRIVER_MODULE(mach64, pci, mach64_driver, drm_devclass, 0, 0);
115DRIVER_MODULE(mach64, pci, mach64_driver, drm_devclass, 0, 0);
116#endif
113MODULE_DEPEND(mach64, drm, 1, 1, 1);
114
115#elif defined(__NetBSD__) || defined(__OpenBSD__)
116CFDRIVER_DECL(mach64, DV_TTY, NULL);
117#endif
117MODULE_DEPEND(mach64, drm, 1, 1, 1);
118
119#elif defined(__NetBSD__) || defined(__OpenBSD__)
120CFDRIVER_DECL(mach64, DV_TTY, NULL);
121#endif