CVSROOT: /cvs Module name: src Changes by: mi...@cvs.openbsd.org 2012/10/25 11:01:26
Modified files: sys/dev/pci : oce.c Log message: Fix a hilarious bug where oce_set_promisc wouldn't zero out the command buffer it sent to the card but an incorrect assignment of the DMA address pointing to this buffer would offset the problem. Once I've fixed an incorrect assignment oce_init started to fail. Turns out that oce_set_promisc is about the only function whose command size is larger than the payload of the standard command buffer and needs an external chunk of DMA memory.