CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2009/11/23 03:54:43

Modified files:
        sys/dev/pci    : if_bnx.c if_bnxreg.h 

Log message:
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 d...@. OK dlg@, deraadt@

Reply via email to