Subject: CVS commit: basesrc/usr.sbin/installboot/arch
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/21/2002 03:38:09
Module Name:	basesrc
Committed By:	lukem
Date:		Tue May 21 00:38:09 UTC 2002

Modified Files:
	basesrc/usr.sbin/installboot/arch: news.c

Log Message:
I made a mistake when converting Izumi Tsutsui's back-end to the shared
bbinfo.c module;  news* boot blocks occupy all of the first 16 sectors,
with a jump instruction to skip the label at bytes 64..511.
Replace news_clearboot() and news_setboot() callbacks with common
news_copydisklable() callback, and set bbinfo_params->offset to
NEWS_BOOT_BLOCK_OFFSET (which is now 0), and ->headeroffset to 0.

(Thanks to Izumi for picking this up; the perils of working on code at 2am)


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 basesrc/usr.sbin/installboot/arch/news.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.