Imported Debian patch 2:1.15.1-0ubuntu2.6
[deb_xorg-server.git] / debian / patches / 188_default_primary_to_first_busid.patch
CommitLineData
7217e0ca
ML
1diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
2index e52f1da..462faa9 100644
3--- a/hw/xfree86/common/xf86pciBus.c
4+++ b/hw/xfree86/common/xf86pciBus.c
5@@ -135,8 +135,8 @@ xf86PciProbe(void)
6 }
7 else {
8 xf86Msg(X_NOTICE,
9- "More than one possible primary device found\n");
10- primaryBus.type ^= (BusType) (-1);
11+ "More than one possible primary device found. Using first one seen.\n");
12+ break;
13 }
14 }
15 }