[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081024205246.GR7331@solarflare.com>
Date: Fri, 24 Oct 2008 21:52:48 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: Jesse Barnes <jbarnes@...tuousgeek.org>,
Benjamin Li <benli@...adcom.com>, netdev@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: PCI VPD size
Stephen Hemminger wrote:
> Why did you choose to limit VPD access by using PCI quirks:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99cb233d60cbe644203f19938c729ea2bb004d70
>
> Rather than controlling size in the device driver which is what my
> patches (which seem to have been ignored) did:
> http://marc.info/?l=linux-netdev&m=122393195716363&w=2
>
> The problem with the quirk scheme is that it means putting more
> per device settings in a location farther away in the source code
> than the underlying device driver.
The limit needs to be set in quirks because VPD I/O beyond that limit
causes those devices to stop responding. If I understand correctly,
you're only reducing the limit as an optimisation.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists