]>
Commit | Line | Data |
---|---|---|
242feb4a | 1 | --- linux/drivers/scsi/sym53c8xx.c.0523 Wed May 23 18:25:06 2001 |
2 | +++ linux/drivers/scsi/sym53c8xx.c Wed May 23 18:42:48 2001 | |
3 | @@ -464,7 +464,7 @@ | |
4 | base = pdev->base_address[index]; | |
5 | #if BITS_PER_LONG > 32 | |
6 | if ((base & 0x7) == 0x4) | |
7 | - *base |= (((u_long)pdev->base_address[++index]) << 32); | |
8 | + base |= (((u_long)pdev->base_address[++index]) << 32); | |
9 | #endif | |
10 | #endif | |
11 | return (base & ~0x7ul); | |
12 | @@ -681,7 +681,11 @@ | |
13 | ||
14 | #ifdef __sparc__ | |
15 | # include <asm/irq.h> | |
16 | +#if LINUX_VERSION_CODE >= LinuxVersionCode(2,4,0) | |
17 | # define memcpy_to_pci(a, b, c) memcpy_toio((a), (b), (c)) | |
18 | +#else | |
19 | +# define memcpy_to_pci(a, b, c) memcpy_toio((void *)(a), (b), (c)) | |
20 | +#endif | |
21 | #elif defined(__alpha__) | |
22 | # define memcpy_to_pci(a, b, c) memcpy_toio((a), (b), (c)) | |
23 | #else /* others */ | |
24 | ------------------------ Cut HERE ------------------------- | |
25 | ||
26 | Thanks for the report. | |
27 | ||
28 | Regards, | |
29 |