Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/pci



Module Name:    src
Committed By:   jonathan
Date:           Thu Mar  6 20:12:54 UTC 2003

Modified Files:
        src/sys/dev/pci: if_bge.c if_bgereg.h

Log Message:
FreeBSD fix for problems reported (to FreeBSD) with 16-bit accesses
to 32-bit device registers. Add (untested) NetBSD fix for big-endian hosts.
>From FreeBSD versions:
        if_bge.c:       1.26 and 1.27
        if_bgereg.h: 1.12

FreeBSD (MFC) comment:

MFC:  Avoid 16-bit accesses to device memory.  Use volatile where
appropriate in referencing device memory.  Parenthesize BGE_HOSTADDR
define properly.


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/sys/dev/pci/if_bge.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/pci/if_bgereg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index