Messages in this thread | | | Date | Mon, 30 Jan 2006 20:33:26 +0100 | From | Markus Lidel <> | Subject | Re: [PATCH 1/2] I2O: don't disable PCI device if it is enabled before probing |
| |
Hello,
Alan Cox wrote: > On Maw, 2006-01-24 at 00:29 +0100, Markus Lidel wrote: >> Changes: >> -------- >> - If PCI device is enabled before probing, it will not be disabled at >> exit. > Looks ok for this case but be warned that pdev->is_enabled is not a safe > check for many devices as the may be BIOS critical, or video for example > but not in the Linux list of things _it_ enabled.
I've searched for a function enabled() or so, but didn't find anything. Could you tell me the right way to do it normally?
Thanks for the hint!
Best regards,
Markus Lidel ------------------------------------------ Markus Lidel (Senior IT Consultant)
Shadow Connect GmbH Carl-Reisch-Weg 12 D-86381 Krumbach Germany
Phone: +49 82 82/99 51-0 Fax: +49 82 82/99 51-11
E-Mail: Markus.Lidel@shadowconnect.com URL: http://www.shadowconnect.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |