[parisc-linux] Re: airo.c fix for hppa and others

LaMont Jones lamont@hp.com
Thu, 5 Dec 2002 17:16:09 -0700


On Thu, Dec 05, 2002 at 03:18:45PM -0700, LaMont Jones wrote:

And lets not forget the (already committed?) dino patch:

lamont

diff -ur x/kernel-source-2.4.19-hppa/drivers/gsc/dino.c kernel-source-2.4.19-hppa/drivers/gsc/dino.c
--- x/kernel-source-2.4.19-hppa/drivers/gsc/dino.c	2002-07-14 13:51:42.000000000 -0600
+++ kernel-source-2.4.19-hppa/drivers/gsc/dino.c	2002-12-04 07:07:52.000000000 -0700
@@ -251,7 +251,7 @@
 	unsigned long flags; \
 	spin_lock_irqsave(&(DINO_DEV(d)->dinosaur_pen), flags); \
 	/* tell HW which IO Port address */ \
-	gsc_writel((u32) addr & ~3, d->base_addr + DINO_PCI_ADDR); \
+	gsc_writel((u32) addr, d->base_addr + DINO_PCI_ADDR); \
 	/* generate I/O PORT read cycle */ \
 	v = gsc_read##type(d->base_addr+DINO_IO_DATA+(addr&mask)); \
 	spin_unlock_irqrestore(&(DINO_DEV(d)->dinosaur_pen), flags); \