Received: by mail.netbsd.org (Postfix, from userid 605) id 6F8AB14A363; Tue, 5 Aug 2014 13:49:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2F3FD14A359 for ; Tue, 5 Aug 2014 13:49:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id mUR8HvxwqKsQ for ; Tue, 5 Aug 2014 13:49:04 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 8596C14A351 for ; Tue, 5 Aug 2014 13:49:04 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 6E68496; Tue, 5 Aug 2014 13:49:04 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 5 Aug 2014 13:49:04 +0000 From: "Tetsuya Isaki" Subject: CVS commit: src/sys/arch/x68k/stand To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20140805134904.6E68496@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Tetsuya Isaki" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: isaki Date: Tue Aug 5 13:49:04 UTC 2014 Modified Files: src/sys/arch/x68k/stand/boot: Makefile boot.c src/sys/arch/x68k/stand/netboot: Makefile Added Files: src/sys/arch/x68k/stand/boot: switch.c switch.h Log Message: Support a 'switch' command. It displays/modifies some SRAM parameters on X680x0, like as memswitch(1) or Human68k's SWITCH.X . It makes easy to change the boot devices or correct the inconsistency of SRAM/real memory size. sample usage: > switch show .. show all supported parameters > switch boot=std .. set boot order to 'STD' > switch memory=12 .. set memory size to 12MB To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/stand/boot/Makefile cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x68k/stand/boot/boot.c cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/boot/switch.c \ src/sys/arch/x68k/stand/boot/switch.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/netboot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.