Don't unconditionnally add a "sunffb" device in autoconfig mode

on OpenBSD. It will be added by sparcDriverName() if a ffb card
is present.
This commit is contained in:
matthieu 2009-09-11 22:12:50 +00:00
parent e706500795
commit 888f50b07a

View File

@ -514,7 +514,7 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
if (i < (nmatches - 1)) {
#if defined(__i386__) || defined(__amd64__) || defined(__hurd__)
matches[i++] = xnfstrdup("vesa");
#elif defined(__sparc__) && !defined(sun)
#elif defined(__sparc__) && defined(__linux__)
matches[i++] = xnfstrdup("sunffb");
#endif
}