Re: avoiding pci_disable_device()...

From: Alan Cox
Date: Wed Feb 16 2005 - 08:46:58 EST



> OTOH this will introduce more buglets to broken drivers which don't
> call pci_disable_device() properly. Consequently, the ad hoc fix to
> each driver like Jeff's patch might be most practical...

This is true but it does provide the mechanism to fix such devices. It
also fails safe because a driver that fails to disable leaves the device
always enabled.

With the ability to mark the specific awkward cases as "enabled on boot"
we can remove some of the horrible special case issues like IDE
controllers using BARs of the northbridge.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/