]> git.pld-linux.org Git - packages/kernel.git/blob - linux-acenic-dma64.patch
- added description of djurban's branch
[packages/kernel.git] / linux-acenic-dma64.patch
1    From: Jan Rekorajski <baggins@sith.mimuw.edu.pl>
2    Date: Wed, 24 Oct 2001 18:04:14 +0200
3
4    On Wed, 24 Oct 2001, David S. Miller wrote:
5    
6    >    From: Jan Rekorajski <baggins@sith.mimuw.edu.pl>
7    >    Date: Wed, 24 Oct 2001 16:45:33 +0200
8    >    
9    >    Speaking of acenic - it's broken in 2.4.13-pre. I have 3c985 and all I
10    >    get with 2.4.13-pre is "Firmware NOT running!". After I backed the
11    >    changes from -pre patch it started and works fine. Maybe the problem is
12    >    I have it in 32bit PCI slot?
13    > 
14    > Do you have CONFIG_HIGHMEM enabled?  If so, please try with
15    > it turned off.
16    
17    Nope. No HIGHMEM here.
18
19 The patch below should cure the problem.
20
21 Linus, please apply.
22
23 diff -u --recursive --new-file --exclude=CVS --exclude=.cvsignore vanilla/linux/drivers/net/acenic.c linux/drivers/net/acenic.c
24 --- vanilla/linux/drivers/net/acenic.c  Fri Oct 12 15:35:53 2001
25 +++ linux/drivers/net/acenic.c  Wed Oct 24 08:32:43 2001
26 @@ -1051,7 +1051,8 @@
27         struct ace_private *ap;
28         struct ace_regs *regs;
29         struct ace_info *info = NULL;
30 -       unsigned long tmp_ptr, myjif;
31 +       u64 tmp_ptr;
32 +       unsigned long myjif;
33         u32 tig_ver, mac1, mac2, tmp, pci_state;
34         int board_idx, ecode = 0;
35         short i;
36 -
37 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
38 the body of a message to majordomo@vger.kernel.org
39 More majordomo info at  http://vger.kernel.org/majordomo-info.html
40 Please read the FAQ at  http://www.tux.org/lkml/
This page took 0.273327 seconds and 3 git commands to generate.