NetBSD/sys/arch/sun3
mrg 648bbec934 in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev.  this occurs when we try to set the dumpdev to a device
with no driver loaded.  this fixes PR#34872.

in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf().  (this also fixes PR#34872.)

XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.

XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.
2006-10-21 05:54:31 +00:00
..
compile
conf Make sun3 use common sun68k/sun68k/isr.c, sun68k/include/cpu.h and 2006-10-05 14:46:11 +00:00
dev Make this compile with FD_DEBUG. 2006-10-14 08:11:16 +00:00
include Make sun3 use common sun68k/sun68k/isr.c, sun68k/include/cpu.h and 2006-10-05 14:46:11 +00:00
sun3 in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the 2006-10-21 05:54:31 +00:00
sun3x in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the 2006-10-21 05:54:31 +00:00
Makefile