Re: pdev_enable_device no longer used ?

From: Jes Sorensen (jes@linuxcare.com)
Date: Mon Dec 11 2000 - 21:39:41 EST


>>>>> "Dave" == davej <davej@suse.de> writes:

Dave> Hi, I noticed a lot of drivers are setting the
Dave> PCI_CACHE_LINE_SIZE themselves, some to
Dave> L1_CACHE_BYTES/sizeof(u32), others to arbitrary values (4, 8,
Dave> 16).

Dave> Then I spotted that we have a routine in the PCI subsystem
Dave> (pdev_enable_device) that sets all these to
Dave> L1_CACHE_BYTES/sizeof(u32) Further digging revealed that this
Dave> routine was not getting called.

If it comes to that, it really should based upen SMP_CACHE_BYTES
rather than L1_CACHE_BYTES.

Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:23 EST