]> git.baikalelectronics.ru Git - kernel.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)
commit213aac3f059709124cc8693228930e7bd6c605f5
tree51463d6338f1e541c3bfc004c05a7fb76c4ebbe1
parentb459764c51cac9168c46a6f21a0e0390fd2b814e
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