summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2005-12-15 05:48:49 +0000
committeryongari <yongari@FreeBSD.org>2005-12-15 05:48:49 +0000
commit653c0a23d7bb507ef9ab20b75368adc642b87366 (patch)
treee9f0ee206733de30209426c1a33a88d1afd883bb /lib/msun/src
parent43534c18afbfbbdbffe0f99bdd16e849612709fe (diff)
downloadFreeBSD-src-653c0a23d7bb507ef9ab20b75368adc642b87366.zip
FreeBSD-src-653c0a23d7bb507ef9ab20b75368adc642b87366.tar.gz
Add bge(4) support for big-endian architectures(part 1/2).
- Give up endianess support and switch to native-endian format for accessing hardware structures. In fact embedded processor for BCM57xx is big-endian architure(MIPS) and it requires native-endian format for NIC structures.The NIC performs necessary byte/word swapping depending on programmed endian type. - With above changes all htole16/htole32 calls were gone. - Remove bge_vhandle member in softc and changed to use explicit register access. This may add additional performance penalty that than that of previous memory access. But most of the access is performed on initialization phase(e.g. RCB setup), it would be negligible. Due to incorrect use of bus_dma(9) in bge(4) it still panics sparc64 system in device detach path. The issue would be fixed in next patch. Reviewed by: jkim (initial version) Silence from: ps Tested by: glebius Obtained from: NetBSD via OpenBSD
Diffstat (limited to 'lib/msun/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud