tdfx_drv.c revision 139749
195584Sanholt/* tdfx_drv.c -- tdfx driver -*- linux-c -*-
2139749Simp * Created: Thu Oct  7 10:38:32 1999 by faith@precisioninsight.com */
3139749Simp/*-
495584Sanholt * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
595584Sanholt * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
695584Sanholt * All Rights Reserved.
795584Sanholt *
895584Sanholt * Permission is hereby granted, free of charge, to any person obtaining a
995584Sanholt * copy of this software and associated documentation files (the "Software"),
1095584Sanholt * to deal in the Software without restriction, including without limitation
1195584Sanholt * the rights to use, copy, modify, merge, publish, distribute, sublicense,
1295584Sanholt * and/or sell copies of the Software, and to permit persons to whom the
1395584Sanholt * Software is furnished to do so, subject to the following conditions:
1495584Sanholt *
1595584Sanholt * The above copyright notice and this permission notice (including the next
1695584Sanholt * paragraph) shall be included in all copies or substantial portions of the
1795584Sanholt * Software.
1895584Sanholt *
1995584Sanholt * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2095584Sanholt * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2195584Sanholt * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
2295584Sanholt * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
2395584Sanholt * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2495584Sanholt * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2595584Sanholt * DEALINGS IN THE SOFTWARE.
2695584Sanholt *
2795584Sanholt * Authors:
2895584Sanholt *    Rickard E. (Rik) Faith <faith@valinux.com>
2995584Sanholt *    Daryll Strauss <daryll@valinux.com>
3095584Sanholt *    Gareth Hughes <gareth@valinux.com>
3195584Sanholt *
3295584Sanholt * $FreeBSD: head/sys/dev/drm/tdfx_drv.c 139749 2005-01-06 01:43:34Z imp $
3395584Sanholt */
3495584Sanholt
3595584Sanholt#include "dev/drm/tdfx.h"
3695584Sanholt#include "dev/drm/drmP.h"
3795584Sanholt
3895584Sanholt#include "dev/drm/drm_auth.h"
3995584Sanholt#include "dev/drm/drm_bufs.h"
4095584Sanholt#include "dev/drm/drm_context.h"
4195584Sanholt#include "dev/drm/drm_dma.h"
4295584Sanholt#include "dev/drm/drm_drawable.h"
4395584Sanholt#include "dev/drm/drm_drv.h"
4495584Sanholt#include "dev/drm/drm_fops.h"
4595584Sanholt#include "dev/drm/drm_ioctl.h"
4695584Sanholt#include "dev/drm/drm_lock.h"
4795584Sanholt#include "dev/drm/drm_memory.h"
4895584Sanholt#include "dev/drm/drm_vm.h"
4995584Sanholt#include "dev/drm/drm_sysctl.h"
5095584Sanholt
51112015Sanholt#ifdef __FreeBSD__
5295584SanholtDRIVER_MODULE(tdfx, pci, tdfx_driver, tdfx_devclass, 0, 0);
53112015Sanholt#elif defined(__NetBSD__)
54112015SanholtCFDRIVER_DECL(tdfx, DV_TTY, NULL);
5595584Sanholt#endif /* __FreeBSD__ */
56