[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1454767054.4383.2.camel@marian1000.go.ro>
Date: Sat, 06 Feb 2016 15:57:34 +0200
From: Corcodel Marian <asd@...ian1000.go.ro>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net v4] r8169: Add bios support.
On Sat, 2016-02-06 at 02:39 -0500, David Miller wrote:
> From: Corcodel Marian <asd@...ian1000.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.
Powered by blists - more mailing lists