mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[AGPGART] When we encounter reserved mode bits, print them out.
Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
ea248bcaad
commit
c4dd45823f
1 changed files with 4 additions and 2 deletions
|
@ -412,7 +412,8 @@ static void agp_v2_parse_one(u32 *requested_mode, u32 *bridge_agpstat, u32 *vga_
|
|||
u32 tmp;
|
||||
|
||||
if (*requested_mode & AGP2_RESERVED_MASK) {
|
||||
printk(KERN_INFO PFX "reserved bits set in mode 0x%x. Fixed.\n", *requested_mode);
|
||||
printk(KERN_INFO PFX "reserved bits set (%x) in mode 0x%x. Fixed.\n",
|
||||
*requested_mode & AGP2_RESERVED_MASK, *requested_mode);
|
||||
*requested_mode &= ~AGP2_RESERVED_MASK;
|
||||
}
|
||||
|
||||
|
@ -490,7 +491,8 @@ static void agp_v3_parse_one(u32 *requested_mode, u32 *bridge_agpstat, u32 *vga_
|
|||
u32 tmp;
|
||||
|
||||
if (*requested_mode & AGP3_RESERVED_MASK) {
|
||||
printk(KERN_INFO PFX "reserved bits set in mode 0x%x. Fixed.\n", *requested_mode);
|
||||
printk(KERN_INFO PFX "reserved bits set (%x) in mode 0x%x. Fixed.\n",
|
||||
*requested_mode & AGP3_RESERVED_MASK, *requested_mode);
|
||||
*requested_mode &= ~AGP3_RESERVED_MASK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue