Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-3] src/sys/dev/pci
Module Name: src
Committed By: tron
Date: Mon Feb 19 22:22:53 UTC 2007
Modified Files:
src/sys/dev/pci [netbsd-3]: if_bnx.c
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1667):
sys/dev/pci/if_bnx.c: revision 1.2
Fix 2 panics with DIAGNOSTIC kernels:
- remove the code to bring down the PHY in bnx_stop(), it's wrong
(ifm_data isn't updated) and lead to a panic in mii_phy_setmedia(),
or reading past the end mii_media_table[].
- make sure the dma_map matches the mbuf in the rx structures. We would
sync/unload the wrong map, leading to a DIAGNOSTIC panic, or eventually
leaking memory when bounce buffers are needed.
To generate a diff of this commit:
cvs rdiff -r1.1.6.1 -r1.1.6.2 src/sys/dev/pci/if_bnx.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index