Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 11/26/2006 16:11:51
Module Name: src
Committed By: tsutsui
Date: Sun Nov 26 16:11:51 UTC 2006
Modified Files:
src/sys/dev/pci: if_vge.c
Log Message:
Fix stupid bugs found on sparc64:
- checking if dmamap != NULL is not valid because dmamap is not cleared
in bus_dmamap_unload(9)
- no need check RX mbufs and call m_freem() and bus_dmamap_unload()
in vge_init() since it's done in prior vge_stop()
Now vge(4) works fine on Ultra5.
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/sys/dev/pci/if_vge.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.