diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-11-23 10:54:44 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-11-23 10:54:44 +0000 |
commit | e3fbc9bc55b430d23177b6bab820be256887ac40 (patch) | |
tree | cea7f2d881f250f24379a0e75c39690d2b952e48 /sys/dev/pci/azalia.c | |
parent | d13e23373b882a47cbd4e827fcf8e72aeb4a3f03 (diff) |
bnx(4) is a bit special. The chip itself is capable of swapping endianess
so there is no need for htoleXX calls. The only thing needed is the correct
layout of the DMA-ed structures. Additionally it uses PAGE_SIZE but assumed
that it is always 4k. Fix the macros that failed to respect that so that it
works on 8k PAGE_SIZE systems. This makes bnx(4) work on sparc64.
Tested on amd64 by dlg@. OK dlg@, deraadt@
Diffstat (limited to 'sys/dev/pci/azalia.c')
0 files changed, 0 insertions, 0 deletions