]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fbdev: update s1d13xxxfb to differ between revisions and production ids
authorKristoffer Ericson <kristoffer.ericson@gmail.com>
Tue, 31 Mar 2009 22:25:31 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:32 +0000 (08:59 -0700)
commitafbb9d8d5266b4121cb503b4e097f8e65286a077
tree51463d6338f1e541c3bfc004c05a7fb76c4ebbe1
parent91ad1203535da95bb13072bdb59e1dc3ca76ec5d
fbdev: update s1d13xxxfb to differ between revisions and production ids

The s1d13xxx chip provides two values of identification value: the
Production id (e.g 13506/13505/13806..) and a revision number 0,1,2,3).
Together these can help us to differentiate between similiar setups.

This patch adds the proper way of grabbing both those values and save them
for future reference (in order to decide what functions a card supports,
e.g acceleration).

We also move away from the concept of all s1d13xxx = s1d13806 when we
really support alot more.

[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: simplify s1d13xxxfb_probe()]
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/s1d13xxxfb.c
include/video/s1d13xxxfb.h