Finding when a chip was supported in the kernel

Bjørn Mork bjorn at mork.no
Mon Feb 15 12:04:55 EST 2016


Rob Groner <rgroner at RTD.com> writes:

> Hmm...I don't think I share the idea that it was extremely easy.  :)

OK :)

> But it is something I can try at least, assuming I can get at least as
> far as figuring out which driver file a particular chip gets its
> support from.  With Intel chips, that IS pretty easy.
>
> Using the blame I see that it gives a date and a commit reference.
> How do I then correlate that to the kernel version where it first
> showed up?  I'm assuming there's a git command for showing that.

That was the other command Carlo gave, which I failed to quote.  Sorry
about that. Carlo wrote:

> git describe --contains $SHA

e.g

bjorn at nemi:/usr/local/src/git/linux$  git describe --contains 4662e82b2cb41
v2.6.28-rc1~717^2~323



Bjørn



More information about the Kernelnewbies mailing list