Re: avoiding pci_disable_device()...

From: Christoph Hellwig
Date: Mon Feb 14 2005 - 06:10:26 EST


On Mon, Feb 14, 2005 at 11:43:02AM +0100, Michal Rokos wrote:
> Hello,
>
> > Currently, in almost every PCI driver, if pci_request_regions() fails --
> > indicating another driver is using the hardware -- then
> > pci_disable_device() is called on the error path, disabling a device
> > that another driver is using
> >
> > To call this "rather rude" is an understatement :)
>
> I believe this is needed for natsemi to be inline with $SUBJ.

Why? I don't think there's any old-style driver for natsemi. And if
there was please switch it to use modern pci probing or kill it.

-
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/