Commit ce4a4076 authored by Dave Jones's avatar Dave Jones

Merge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus

into tetrachloride.(none):/mnt/raid/src/kernel/2.5/agpgart
parents 57bd7464 852e0051
......@@ -203,8 +203,8 @@
#define LOCKUP 8
struct gtt_data {
agp_memory *i810_fb_memory;
agp_memory *i810_cursor_memory;
struct agp_memory *i810_fb_memory;
struct agp_memory *i810_cursor_memory;
};
struct mode_registers {
......
......@@ -1926,11 +1926,6 @@ static void __exit i810fb_remove_pci(struct pci_dev *dev)
#ifndef MODULE
int __init i810fb_init(void)
{
if (agp_init()) {
printk("i810fb_init: cannot initialize agpgart\n");
return -ENODEV;
}
if (agp_intel_init()) {
printk("i810fb_init: cannot initialize intel agpgart\n");
return -ENODEV;
......
......@@ -111,7 +111,6 @@ static int i810fb_blank (int blank_mode, struct fb_info *info);
/* Initialization */
static void i810fb_release_resource (struct fb_info *info, struct i810fb_par *par);
extern int __init agp_intel_init(void);
extern int __init agp_init(void);
/* Video Timings */
......
......@@ -2868,8 +2868,8 @@ static int sisfb_heap_init(void)
unsigned long *write_port = 0;
SIS_CMDTYPE cmd_type;
#ifndef AGPOFF
agp_kern_info *agp_info;
agp_memory *agp;
struct agp_kern_info *agp_info;
struct agp_memory *agp;
u32 agp_phys;
#endif
#endif
......@@ -2946,8 +2946,8 @@ static int sisfb_heap_init(void)
#ifndef AGPOFF
if (sisfb_queuemode == AGP_CMD_QUEUE) {
agp_info = vmalloc(sizeof(agp_kern_info));
memset((void*)agp_info, 0x00, sizeof(agp_kern_info));
agp_info = vmalloc(sizeof(*agp_info));
memset((void*)agp_info, 0x00, sizeof(*agp_info));
agp_copy_info(agp_info);
agp_backend_acquire();
......
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