mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-15 00:13:28 +00:00
Unclaim PCI slot if driver probing fails.
Otherwise no subsequent driver will be able to claim this pci slot. Example for this: fbdev tries to claim, but framebuffer device is not available. Later on VESA cannot claim the device.
This commit is contained in:
parent
73abdc94c3
commit
43ee8d2ead
3 changed files with 22 additions and 1 deletions
|
|
@ -97,6 +97,7 @@ extern _X_EXPORT Bool VTSwitchEnabled; /* kbd driver */
|
|||
extern _X_EXPORT Bool xf86CheckPciSlot( const struct pci_device * );
|
||||
extern _X_EXPORT int xf86ClaimPciSlot( struct pci_device *, DriverPtr drvp,
|
||||
int chipset, GDevPtr dev, Bool active);
|
||||
extern _X_EXPORT void xf86UnclaimPciSlot(struct pci_device *);
|
||||
extern _X_EXPORT Bool xf86ParsePciBusString(const char *busID, int *bus, int *device,
|
||||
int *func);
|
||||
extern _X_EXPORT Bool xf86ComparePciBusString(const char *busID, int bus, int device, int func);
|
||||
|
|
|
|||
Loading…
Reference in a new issue