[PATCH] xserver: Unclaim PCI slot if driver probing fails.
Matthias Hopf
mhopf at suse.de
Wed Jul 1 06:50:11 PDT 2009
This time with the patch actually attached...
On Jul 01, 09 15:38:41 +0200, Matthias Hopf wrote:
> At SUSE we try to use fbdev if possible, so if we cannot use a native
> driver we want to use the fbdev driver, and fail back to vesa if fbdev
> fails (e.g. if the mode on the kernel parameter line failed to set).
>
> This doesn't work with the current xserver, after the first driver has
> been probed, the pci slot remains claimed. Apparently this was never
> thought to be an issue, because functions for unclaiming pci slots are
> missing.
>
> This patch unclaims a pci slot by setting its bus type to BUS_NONE, so
> it doesn't match any more. I don't remove the allocation slot at the
> moment, because I'm unsure that there are no references left (and this
> is unlikely to be a regularly called function).
>
> This fixes Novell bug #511529.
>
> Thoughts?
Matthias, whistling
--
Matthias Hopf <mhopf at suse.de> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat at mshopf.de
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Unclaim-PCI-slot-if-driver-probing-fails.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090701/5f6eeab8/attachment.bin
More information about the xorg-devel
mailing list