11 #include <linux/module.h>
28 static struct drm_driver
driver;
38 static void cirrus_kick_out_firmware_fb(
struct pci_dev *pdev)
40 struct apertures_struct *ap;
43 ap = alloc_apertures(1);
57 cirrus_kick_out_firmware_fb(pdev);
59 return drm_get_pci_dev(pdev, ent, &
driver);
62 static void cirrus_pci_remove(
struct pci_dev *pdev)
81 static struct drm_driver
driver = {
82 .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_USE_MTRR,
85 .fops = &cirrus_driver_fops,
101 .id_table = pciidlist,
102 .probe = cirrus_pci_probe,
103 .remove = cirrus_pci_remove,
106 static int __init cirrus_init(
void)
108 #ifdef CONFIG_VGA_CONSOLE
118 static void __exit cirrus_exit(
void)