mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
fbdev: make entity fail if PCI claimed already.
bad kitty fbdev, been shipping this in Fedora for a while now
This commit is contained in:
parent
3efb23a6c4
commit
aef6b904eb
2 changed files with 10 additions and 0 deletions
|
|
@ -57,6 +57,13 @@ xf86ClaimFbSlot(DriverPtr drvp, int chipset, GDevPtr dev, Bool active)
|
|||
{
|
||||
EntityPtr p;
|
||||
int num;
|
||||
|
||||
if (pciSlotClaimed)
|
||||
return -1;
|
||||
#if defined(__sparc__) || defined (__sparc64__)
|
||||
if (sbusSlotClaimed)
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
num = xf86AllocateEntity();
|
||||
p = xf86Entities[num];
|
||||
|
|
|
|||
Loading…
Reference in a new issue