patch-2.3.99-pre6 linux/drivers/char/agp/agpgart_be.c
Next file: linux/drivers/char/amiserial.c
Previous file: linux/drivers/char/README.computone
Back to the patch index
Back to the overall index
- Lines: 52
- Date:
Fri Apr 21 16:08:45 2000
- Orig file:
v2.3.99-pre5/linux/drivers/char/agp/agpgart_be.c
- Orig date:
Tue Apr 11 15:09:16 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/char/agp/agpgart_be.c linux/drivers/char/agp/agpgart_be.c
@@ -81,7 +81,7 @@
#endif
}
-#ifdef __SMP__
+#ifdef CONFIG_SMP
static atomic_t cpus_waiting;
static void ipi_handler(void *null)
@@ -102,9 +102,9 @@
barrier();
}
#define global_cache_flush smp_flush_cache
-#else /* __SMP__ */
+#else /* CONFIG_SMP */
#define global_cache_flush flush_cache
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
int agp_backend_acquire(void)
{
@@ -1764,6 +1764,30 @@
#endif /* CONFIG_AGP_INTEL */
#ifdef CONFIG_AGP_SIS
+ { PCI_DEVICE_ID_SI_630,
+ PCI_VENDOR_ID_SI,
+ SIS_GENERIC,
+ "SiS",
+ "630",
+ sis_generic_setup },
+ { PCI_DEVICE_ID_SI_540,
+ PCI_VENDOR_ID_SI,
+ SIS_GENERIC,
+ "SiS",
+ "540",
+ sis_generic_setup },
+ { PCI_DEVICE_ID_SI_620,
+ PCI_VENDOR_ID_SI,
+ SIS_GENERIC,
+ "SiS",
+ "620",
+ sis_generic_setup },
+ { PCI_DEVICE_ID_SI_530,
+ PCI_VENDOR_ID_SI,
+ SIS_GENERIC,
+ "SiS",
+ "530",
+ sis_generic_setup },
{ PCI_DEVICE_ID_SI_630,
PCI_VENDOR_ID_SI,
SIS_GENERIC,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)