CVSROOT:        /cvs
Module name:    src
Changes by:     r...@cvs.openbsd.org    2013/08/28 04:19:19

Modified files:
        sys/dev/pci    : if_vmx.c if_vmxreg.h 

Log message:
vmx(4) uses 4 different types of 128bit descriptors in little-endian
format for Rx and Tx.  Replace the bit fields in the descriptor
structs with 32bit words to access them with traditional bit
operations using shifts and masks.  We try to avoid bit fields in
OpenBSD.  For consistence with other drivers, this change also uses
letoh32/htole32 endianess conversions even if it is very unlikely that
vmx will ever run on a big-endian VM/host.

discussed with uebayasi@ and deraadt@

Reply via email to