Allow up to 13 bits for mode numbers.
authorSascha Wildner <swildner@dragonflybsd.org>
Sun, 19 Aug 2007 12:16:10 +0000 (12:16 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sun, 19 Aug 2007 12:16:10 +0000 (12:16 +0000)
commitf9532f82f0e89f444d2b0900229bb2f2b7800cef
treeacc9b0d3722de6da0909ef4b291c836e31d1dba9
parentbb2c2021b9ae6a9db89554b5198c7de099f2480b
Allow up to 13 bits for mode numbers.

Some VESA implementations use more than 9 bits for mode numbers (in
violation of the specification which marks D9-D12 as reserved).

This doesn't cause problems on conforming cards and recognizes more
modes on cards which exhibit this behavior (my Rage 3D LT Pro AGP
for example).
sys/sys/fbio.h