On Sat, 2016-02-06 at 02:39 -0500, David Miller wrote: > From: Corcodel Marian <a...@marian1000.go.ro> > Date: Sat, 6 Feb 2016 08:31:26 +0200 > > > @@ -8262,8 +8262,9 @@ static int rtl_init_one(struct pci_dev *pdev, > const struct pci_device_id *ent) > > rtl_hw_reset(tp); > > > > rtl_ack_events(tp, 0xffff); > > - > > +#ifndef CONFIG_BIOS_SUPPORT > > pci_set_master(pdev); > > +#endif > > I already made it clear to you that it is perfectly fine to > unconditionally > call pci_set_master() from the driver in any circumstance. > > Look across all of the drivers under drivers/net/ that invoke this > function, > it's meant to be used this way and it's fine. > > There is absolutely no reason to conditionalize it. > > Thanks. >
May be but i'm not sure this must tested on every driver.