Thread (30 messages) 30 messages, 6 authors, 2012-04-25

[PATCH V3 07/12] ata/sata_mv: Remove conditional compilation of clk code

From: andrew@lunn.ch (Andrew Lunn)
Date: 2012-04-25 09:29:49
Also in: linux-ide, lkml

If an arch has HAVE_CLK enabled it must provide valid clocks (be it
dummy clocks) for all devices it supports.
So, lets take the theoretical exaple of a unicore32 PUV3

config ARCH_PUV3
        def_bool y
        select CPU_UCV2
        select GENERIC_CLOCKEVENTS
        select HAVE_CLK
        select ARCH_REQUIRE_GPIOLIB
        select ARCH_HAS_CPUFREQ

Seems like this somewhat unknown, to me at least, architecture, also
supports PCI. So i plug in an HP Adaptec AIC8120 SATA host bus adapter
into a spare PCI slot. This uses the Marvell 88SX6041, which the
SATA_MV driver supports.

Should i expect that the unicore32 PUV3 has created a dummy clk for
this case?

Thanks
	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help