Commit 5ca838e1 authored by Dave Jones's avatar Dave Jones

[AGPGART] Fix up missing brackets on defines.

parent 0d0823fc
...@@ -302,7 +302,7 @@ struct agp_bridge_data { ...@@ -302,7 +302,7 @@ struct agp_bridge_data {
#define AMD64_GARTAPERTUREBASE 0x94 #define AMD64_GARTAPERTUREBASE 0x94
#define AMD64_GARTTABLEBASE 0x98 #define AMD64_GARTTABLEBASE 0x98
#define AMD64_GARTCACHECTL 0x9c #define AMD64_GARTCACHECTL 0x9c
#define AMD64_GARTEN 1<<0 #define AMD64_GARTEN (1<<0)
/* ALi registers */ /* ALi registers */
#define ALI_AGPCTRL 0xb8 #define ALI_AGPCTRL 0xb8
......
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
#define GPTE_COHERENT 2 #define GPTE_COHERENT 2
/* Aperture control register bits. */ /* Aperture control register bits. */
#define GARTEN 1<<0 #define GARTEN (1<<0)
#define DISGARTCPU 1<<4 #define DISGARTCPU (1<<4)
#define DISGARTIO 1<<5 #define DISGARTIO (1<<5)
/* GART cache control register bits. */ /* GART cache control register bits. */
#define INVGART 1<<0 #define INVGART (1<<0)
#define GARTPTEERR 1<<1 #define GARTPTEERR (1<<1)
static int nr_garts; static int nr_garts;
static struct pci_dev * hammers[MAX_HAMMER_GARTS]; static struct pci_dev * hammers[MAX_HAMMER_GARTS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment