OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: David Gwynne (dlgcvs.openbsd.org)
Date: Wed Nov 01 2006 - 22:32:59 CST


CVSROOT: /cvs
Module name: src
Changes by: dlgcvs.openbsd.org 2006/11/01 21:32:59

Modified files:
        sys/dev/pci : if_vic.c

Log message:
split the initialisation of the dma area up between the attach path and the
interface init path. the init path now does the allocation of the dmamaps
for both tx and rx, and allocates the mbufs for the rx ring.

the interface stop is now uncommented. it waits for the hardware to stop
working, and cleans up the bits allocated in the init path.

ifconfig vic0 up and ifconfig vic0 down both work now.