[lkml]   [2009]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Who's responsible for configuring CLS on a cardbus device?
On Tue, May 26, 2009 at 02:23:00PM +0100, Alan Cox wrote:
> > This is solvable by simply setting CLS to the correct value but who's
> > job is it? For non-hotplug devices, this is configured by the BIOS
> > (at least on PC), so for hotplug devices I think falls on the lap of
> > the PCI code but I'm not sure. If this is something which the
> > sata_sil driver should be responsible for, is there an established way
> > to determine the proper CLS value?
> Currently its handled by pci_set_mwi() but there isn't actually a more
> direct way to do this.

There isn't for the drivers because BIOS is supposed to set

If the BIOS isn't setting PCI_CACHE_LINE_SIZE, the arch specific
pci support should be checking PCI_CACHE_LINE_SIZE and/or setting
it in pcibios_set_master().


 \ /
  Last update: 2009-05-29 18:57    [W:0.066 / U:2.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site