vserver 2.0 rc7
[linux-2.6.git] / drivers / video / intelfb / intelfbhw.c
index df40108..f5bed58 100644 (file)
@@ -98,6 +98,11 @@ intelfbhw_get_chipset(struct pci_dev *pdev, const char **name, int *chipset,
                *chipset = INTEL_865G;
                *mobile = 0;
                return 0;
+       case PCI_DEVICE_ID_INTEL_915G:
+               *name = "Intel(R) 915G";
+               *chipset = INTEL_915G;
+               *mobile = 0;
+               return 0;
        default:
                return 1;
        }
@@ -169,6 +174,12 @@ intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
                case INTEL_855_GMCH_GMS_STOLEN_32M:
                        *stolen_size = MB(32) - KB(132);
                        return 0;
+               case INTEL_915G_GMCH_GMS_STOLEN_48M:
+                       *stolen_size = MB(48) - KB(132);
+                       return 0;
+               case INTEL_915G_GMCH_GMS_STOLEN_64M:
+                       *stolen_size = MB(64) - KB(132);
+                       return 0;
                case INTEL_855_GMCH_GMS_DISABLED:
                        ERR_MSG("video memory is disabled\n");
                        return 0;