Some scholars say that Chan was a natural outcome of the interaction of Buddhism with Daoism in China.
That is, when Buddhism came to China, the Chinese interpreted it in terms of Daoism.
For instance, they adapted Buddhist meditation along the lines of preexisting Daoist meditation (contemplation in nature).