Subject: typo in pci/cmpci.c ?
To: None <current-users@netbsd.org>
From: Murray Armfield <murray.armfield@arconsulting.com.au>
List: current-users
Date: 11/04/2002 22:41:47
Hi folks,
=09was just browsing source and noticed this. It looked incorrect to me b=
ut I am=20
not totally sure. I have no doco on this chip. Can anyone confirm and che=
ck=20
into current if required? (I can't)

--- sys/dev/cmpci.c.orig        Mon Nov  4 22:37:06 2002
+++ sys/dev/cmpci.c
@@ -791,7 +791,7 @@ cmpci_round_blocksize(handle, block)
        void *handle;
        int block;
 {
-       return (block & -4);
+       return (block & ~0x04);
 }

 static int

Take care,
=09Murray