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