| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.1 2007/07/05 19:03:24 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.2 2007/07/05 21:01:18 cardoe Exp $ |
| 4 | |
4 | |
| 5 | # |
5 | # |
| 6 | # Original Author: Doug Goldstein <cardoe@gentoo.org> |
6 | # Original Author: Doug Goldstein <cardoe@gentoo.org> |
| 7 | # Purpose: Provide useful messages for nvidia-drivers based on currently |
7 | # Purpose: Provide useful messages for nvidia-drivers based on currently |
| 8 | # installed Nvidia card |
8 | # installed Nvidia card |
| 9 | # |
9 | # |
| 10 | |
10 | |
| 11 | DEPEND="sys-apps/pciutils" |
11 | DEPEND="sys-apps/pciutils" |
|
|
12 | |
|
|
13 | # the data below is derived from |
|
|
14 | # http://us.download.nvidia.com/XFree86/Linux-x86_64/100.14.11/README/appendix-a.html |
| 12 | |
15 | |
| 13 | drv_96xx="0110 0111 0112 0113 0170 0171 0172 0173 0174 0175 0176 0177 0178 \ |
16 | drv_96xx="0110 0111 0112 0113 0170 0171 0172 0173 0174 0175 0176 0177 0178 \ |
| 14 | 0179 017a 017c 017d 0181 0182 0183 0185 0188 018a 018b 018c 01a0 01f0 0200 \ |
17 | 0179 017a 017c 017d 0181 0182 0183 0185 0188 018a 018b 018c 01a0 01f0 0200 \ |
| 15 | 0201 0202 0203 0250 0251 0253 0258 0259 025b 0280 0281 0282 0286 0288 0289 \ |
18 | 0201 0202 0203 0250 0251 0253 0258 0259 025b 0280 0281 0282 0286 0288 0289 \ |
| 16 | 028c" |
19 | 028c" |
| … | |
… | |
| 72 | ewarn "echo \"$NVIDIA_MASK\" >> /etc/portage/package.mask" |
75 | ewarn "echo \"$NVIDIA_MASK\" >> /etc/portage/package.mask" |
| 73 | fi |
76 | fi |
| 74 | ewarn |
77 | ewarn |
| 75 | ewarn "Failure to perform the steps above could result in a non-working" |
78 | ewarn "Failure to perform the steps above could result in a non-working" |
| 76 | ewarn "X setup." |
79 | ewarn "X setup." |
|
|
80 | ewarn |
|
|
81 | ewarn "For more information please read:" |
|
|
82 | ewarn "http://us.download.nvidia.com/XFree86/Linux-x86_64/100.14.11/README/appendix-a.html" |
| 77 | ebeep 5 |
83 | ebeep 5 |
| 78 | fi |
84 | fi |
| 79 | } |
85 | } |
| 80 | |
86 | |
| 81 | |
87 | |