summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_stereg.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-11-23 10:54:44 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-11-23 10:54:44 +0000
commite3fbc9bc55b430d23177b6bab820be256887ac40 (patch)
treecea7f2d881f250f24379a0e75c39690d2b952e48 /sys/dev/pci/if_stereg.h
parentd13e23373b882a47cbd4e827fcf8e72aeb4a3f03 (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/if_stereg.h')
0 files changed, 0 insertions, 0 deletions