NetBSD/sys/arch/mac68k
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 Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
conf remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
dev Cast addresses to int before doing arithmetic on them, as in uses 2006-10-07 21:13:02 +00:00
include Convert mac68k to generic todr. Thanks to Robert Swindells for testing. 2006-09-20 03:40:51 +00:00
mac68k in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the 2006-10-21 05:54:31 +00:00
nubus Use device_cfdata(). 2006-03-29 04:16:44 +00:00
obio Don't call wdc_init_shadow_regs() before struct ata_channel is 2006-10-05 09:34:52 +00:00
Makefile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00