Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94191
b: refs/heads/master
c: 7d345b2
h: refs/heads/master
i:
  94189: 0d4de14
  94187: 5173231
  94183: 74d3994
  94175: 0dd4ee0
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Apr 28, 2008
1 parent 240e15d commit e096daf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ce3ab100e4e115ca2c4fd931844a0f1a50df406
refs/heads/master: 7d345b2253f92804948d66f4db17a49c1932b9a3
4 changes: 2 additions & 2 deletions trunk/drivers/video/nvidia/nv_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ typedef struct {
int nvclk_khz;
char mem_page_miss;
char mem_latency;
int memory_type;
u32 memory_type;
int memory_width;
char enable_video;
char gr_during_vid;
Expand Down Expand Up @@ -719,7 +719,7 @@ static void nForceUpdateArbitrationSettings(unsigned VClk,
memctrl >>= 16;

if ((memctrl == 0x1A9) || (memctrl == 0x1AB) || (memctrl == 0x1ED)) {
int dimm[3];
u32 dimm[3];

dev = pci_get_bus_and_slot(0, 2);
pci_read_config_dword(dev, 0x40, &dimm[0]);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/video/nvidia/nv_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ static void nv10GetConfig(struct nvidia_par *par)

dev = pci_get_bus_and_slot(0, 1);
if ((par->Chipset & 0xffff) == 0x01a0) {
int amt = 0;
u32 amt;

pci_read_config_dword(dev, 0x7c, &amt);
par->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024;
} else if ((par->Chipset & 0xffff) == 0x01f0) {
int amt = 0;
u32 amt;

pci_read_config_dword(dev, 0x84, &amt);
par->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/riva/nv_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ unsigned long riva_get_memlen(struct riva_par *par)
unsigned long memlen = 0;
unsigned int chipset = par->Chipset;
struct pci_dev* dev;
int amt;
u32 amt;

switch (chip->Architecture) {
case NV_ARCH_03:
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/video/riva/riva_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ typedef struct {
int nvclk_khz;
char mem_page_miss;
char mem_latency;
int memory_type;
u32 memory_type;
int memory_width;
char enable_video;
char gr_during_vid;
Expand Down Expand Up @@ -2107,7 +2107,7 @@ static void nv10GetConfig
)
{
struct pci_dev* dev;
int amt;
u32 amt;

#ifdef __BIG_ENDIAN
/* turn on big endian register access */
Expand Down

0 comments on commit e096daf

Please sign in to comment.