Rev 4104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4104 | Rev 5060 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | /** |
- | |
2 | * \file drm_drv.c |
- | |
3 | * Generic driver template |
- | |
4 | * |
- | |
5 | * \author Rickard E. (Rik) Faith |
- | |
6 | * \author Gareth Hughes |
- | |
7 | * |
- | |
8 | * To use this template, you must at least define the following (samples |
- | |
9 | * given for the MGA driver): |
- | |
10 | * |
- | |
11 | * \code |
- | |
12 | * #define DRIVER_AUTHOR "VA Linux Systems, Inc." |
- | |
13 | * |
- | |
14 | * #define DRIVER_NAME "mga" |
- | |
15 | * #define DRIVER_DESC "Matrox G200/G400" |
- | |
16 | * #define DRIVER_DATE "20001127" |
- | |
17 | * |
- | |
18 | * #define drm_x mga_##x |
- | |
19 | * \endcode |
- | |
20 | */ |
- | |
21 | - | ||
22 | /* |
1 | /* |
23 | * Created: Thu Nov 23 03:10:50 2000 by gareth@valinux.com |
2 | * Created: Fri Jan 19 10:48:35 2001 by faith@acm.org |
24 | * |
3 | * |
25 | * Copyright 1999, 2000 Precision Insight, Inc., Cedar Park, Texas. |
- | |
26 | * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. |
4 | * Copyright 2001 VA Linux Systems, Inc., Sunnyvale, California. |
27 | * All Rights Reserved. |
5 | * All Rights Reserved. |
28 | * |
6 | * |
- | 7 | * Author Rickard E. (Rik) Faith |
|
- | 8 | * |
|
29 | * Permission is hereby granted, free of charge, to any person obtaining a |
9 | * Permission is hereby granted, free of charge, to any person obtaining a |
30 | * copy of this software and associated documentation files (the "Software"), |
10 | * copy of this software and associated documentation files (the "Software"), |
31 | * to deal in the Software without restriction, including without limitation |
11 | * to deal in the Software without restriction, including without limitation |
32 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
12 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
33 | * and/or sell copies of the Software, and to permit persons to whom the |
13 | * and/or sell copies of the Software, and to permit persons to whom the |
Line 38... | Line 18... | ||
38 | * Software. |
18 | * Software. |
39 | * |
19 | * |
40 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
41 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
21 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
42 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
43 | * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
23 | * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
44 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
24 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
45 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
25 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
46 | * OTHER DEALINGS IN THE SOFTWARE. |
26 | * DEALINGS IN THE SOFTWARE. |
47 | */ |
27 | */ |
Line 48... | Line 28... | ||
48 | 28 | ||
49 | #include |
29 | #include |
50 | #include |
30 | #include |