aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/ibmtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tokenring/ibmtr.c')
-rw-r--r--drivers/net/tokenring/ibmtr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/tokenring/ibmtr.c b/drivers/net/tokenring/ibmtr.c
index 91e6c78271a3..4786497de03e 100644
--- a/drivers/net/tokenring/ibmtr.c
+++ b/drivers/net/tokenring/ibmtr.c
@@ -657,8 +657,9 @@ static int __devinit ibmtr_probe1(struct net_device *dev, int PIOaddr)
657#ifndef PCMCIA 657#ifndef PCMCIA
658 /* finish figuring the shared RAM address */ 658 /* finish figuring the shared RAM address */
659 if (cardpresent == TR_ISA) { 659 if (cardpresent == TR_ISA) {
660 static __u32 ram_bndry_mask[] = 660 static const __u32 ram_bndry_mask[] = {
661 { 0xffffe000, 0xffffc000, 0xffff8000, 0xffff0000 }; 661 0xffffe000, 0xffffc000, 0xffff8000, 0xffff0000
662 };
662 __u32 new_base, rrr_32, chk_base, rbm; 663 __u32 new_base, rrr_32, chk_base, rbm;
663 664
664 rrr_32=readb(ti->mmio+ACA_OFFSET+ACA_RW+RRR_ODD) >> 2 & 0x03; 665 rrr_32=readb(ti->mmio+ACA_OFFSET+ACA_RW+RRR_ODD) >> 2 & 0x03;