11 #include <linux/module.h>
29 static struct drm_driver
driver;
43 static void mgag200_kick_out_firmware_fb(
struct pci_dev *pdev)
45 struct apertures_struct *ap;
48 ap = alloc_apertures(1);
66 mgag200_kick_out_firmware_fb(pdev);
68 return drm_get_pci_dev(pdev, ent, &
driver);
71 static void mga_pci_remove(
struct pci_dev *pdev)
92 static struct drm_driver
driver = {
93 .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_USE_MTRR,
96 .fops = &mgag200_driver_fops,
111 static struct pci_driver mgag200_pci_driver = {
113 .id_table = pciidlist,
114 .probe = mga_pci_probe,
115 .remove = mga_pci_remove,
118 static int __init mgag200_init(
void)
120 #ifdef CONFIG_VGA_CONSOLE
130 static void __exit mgag200_exit(
void)