On Mon, Feb 14, 2005 at 04:01:11PM +0100, Christophe Lucas wrote: > If PCI request regions fails, then someone else is using the > hardware we wish to use. For that one case, calling > pci_disable_device() is rather rude. > See : http://www.ussg.iu.edu/hypermail/linux/kernel/0502.1/1061.html
Actually, that isn't necessarily true. If the request_regions call fails, that can mean there's a resource conflict. If so, leaving the device enabled is the worst possible thing to do as we'll now have two devices trying to respond to the same io accesses. -- "Next the statesmen will invent cheap lies, putting the blame upon the nation that is attacked, and every man will be glad of those conscience-soothing falsities, and will diligently study them, and refuse to examine any refutations of them; and thus he will by and by convince himself that the war is just, and will thank God for the better sleep he enjoys after this process of grotesque self-deception." -- Mark Twain - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/