sis-agp.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) sis-agp.c (90ab5ee94171b3e28de6bb42ee30b527014e0be7)
1/*
2 * SiS AGPGART routines.
3 */
4
5#include <linux/module.h>
6#include <linux/pci.h>
7#include <linux/init.h>
8#include <linux/agp_backend.h>
9#include <linux/delay.h>
10#include "agp.h"
11
12#define SIS_ATTBASE 0x90
13#define SIS_APSIZE 0x94
14#define SIS_TLBCNTRL 0x97
15#define SIS_TLBFLUSH 0x98
16
17#define PCI_DEVICE_ID_SI_662 0x0662
18#define PCI_DEVICE_ID_SI_671 0x0671
19
1/*
2 * SiS AGPGART routines.
3 */
4
5#include <linux/module.h>
6#include <linux/pci.h>
7#include <linux/init.h>
8#include <linux/agp_backend.h>
9#include <linux/delay.h>
10#include "agp.h"
11
12#define SIS_ATTBASE 0x90
13#define SIS_APSIZE 0x94
14#define SIS_TLBCNTRL 0x97
15#define SIS_TLBFLUSH 0x98
16
17#define PCI_DEVICE_ID_SI_662 0x0662
18#define PCI_DEVICE_ID_SI_671 0x0671
19
20static int __devinitdata agp_sis_force_delay = 0;
20static bool __devinitdata agp_sis_force_delay = 0;
21static int __devinitdata agp_sis_agp_spec = -1;
22
23static int sis_fetch_size(void)
24{
25 u8 temp_size;
26 int i;
27 struct aper_size_info_8 *values;
28

--- 426 unchanged lines hidden ---
21static int __devinitdata agp_sis_agp_spec = -1;
22
23static int sis_fetch_size(void)
24{
25 u8 temp_size;
26 int i;
27 struct aper_size_info_8 *values;
28

--- 426 unchanged lines hidden ---