summaryrefslogtreecommitdiff
blob: b1d4f911338489acd6ed4b156709370fe2a43721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -Naru a/drivers/block/sx8.c b/drivers/block/sx8.c
--- a/drivers/block/sx8.c	2005-10-20 23:18:07 -07:00
+++ b/drivers/block/sx8.c	2005-10-20 23:18:07 -07:00
@@ -1414,7 +1414,7 @@
 	tmp8 = readb(mmio + CARM_INITC);
 	if (tmp8 & 0x01) {
 		tmp8 &= ~0x01;
-		writeb(tmp8, CARM_INITC);
+		writeb(tmp8, mmio + CARM_INITC);
 		readb(mmio + CARM_INITC);	/* flush */
 
 		DPRINTK("snooze...\n");
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/12 10:30:42-07:00 torvalds@evo.osdl.org 
#   Stricter PCI IO space type checking uncovered a bug in sx8 driver.
#   
#   Forgot to add in the mmio base..
# 
# drivers/block/sx8.c
#   2004/09/12 10:30:26-07:00 torvalds@evo.osdl.org +1 -1
#   Stricter PCI IO space type checking uncovered a bug in sx8 driver.
#   
#   Forgot to add in the mmio base..
#