tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: attention driver writers...

On Fri, May 02, 2008 at 07:39:35PM -0500, David Young wrote:
> Please, if you're writing device drivers, or if you're making changes
> that may affect device drivers, get in the habit of testing individual
> drivers' detachment and re-attachment, suspension and resumption, after
> your changes.  There's currently a significant regression in PCI drivers
> that could have been caught with some light testing.

Here is a "how-to".


        drvctl -d dev0

Re-attach devices on a PCI bus:

        drvctl -r pci0

Suspend a device and its children:

        drvctl -S dev0

Resume a device and its children:

        drvctl -Q dev0


David Young             OJC Technologies      Urbana, IL * (217) 278-3933 ext 24

Home | Main Index | Thread Index | Old Index