Commit 1b678004 authored by Dave Jones's avatar Dave Jones

[AGPGART] Fix up the reserved bits.

The previous checks were against AGP_STAT values, but userspace passes us
an agp command register.
parent e19ad015
......@@ -315,7 +315,7 @@ extern int agp_try_unsupported_boot;
#define AGPCTRL_APERENB (1<<8)
#define AGPCTRL_GTLBEN (1<<7)
#define AGP2_RESERVED_MASK 0x00fffdc8
#define AGP3_RESERVED_MASK 0x00ff0180
#define AGP2_RESERVED_MASK 0x00fffcc8
#define AGP3_RESERVED_MASK 0x00ff00cc
#endif /* _AGP_BACKEND_PRIV_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment