Finding when a chip was supported in the kernel
Rob Groner
rgroner at RTD.com
Mon Feb 15 12:12:53 EST 2016
> -----Original Message-----
> From: Bjørn Mork [mailto:bjorn at mork.no]
> Sent: Monday, February 15, 2016 12:05 PM
> To: Rob Groner <rgroner at RTD.com>
> Cc: Carlo Caione <carlo at caione.org>; kernelnewbies at kernelnewbies.org
> Subject: Re: Finding when a chip was supported in the kernel
>
> 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
>
Great, thank you!
Rob
More information about the Kernelnewbies
mailing list