621. Let kbd driver test if Xserver is in suspend before handling any input

events (Egbert Eich).
620. Fixed agp version checking to accept minor versions >= the specified
    number (Leif Delgass).
This commit is contained in:
Egbert Eich 2002-12-12 18:29:05 +00:00
parent 7827fce0b5
commit 870d0f8752

View File

@ -120,9 +120,16 @@ GARTInit()
KdReleaseGART(-1);
#if defined(linux)
/* Should this look for version >= rather than version == ? */
if (agpinf.version.major != AGPGART_MAJOR_VERSION &&
agpinf.version.minor != AGPGART_MINOR_VERSION) {
/* Per Dave Jones, every effort will be made to keep the
* agpgart interface backwards compatible, so allow all
* future versions.
*/
if (
#if (AGPGART_MAJOR_VERSION > 0) /* quiet compiler */
agpinf.version.major < AGPGART_MAJOR_VERSION ||
#endif
(agpinf.version.major == AGPGART_MAJOR_VERSION &&
agpinf.version.minor < AGPGART_MINOR_VERSION)) {
fprintf(stderr,
"Kernel agpgart driver version is not current"
" (%d.%d vs %d.%d)\n",