From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753494AbbGNIdm (ORCPT ); Tue, 14 Jul 2015 04:33:42 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:52510 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbbGNIdj (ORCPT ); Tue, 14 Jul 2015 04:33:39 -0400 X-Auth-Info: 1Vb8+fclUl7ikhZFe2841O22uN/3ZDPUdZtJuCgkgSSYsylRqKdKGvKoL7gjrTNc From: Andreas Schwab To: Geert Uytterhoeven Cc: Finn Thain , "linux-kernel\@vger.kernel.org" , "Linux\/m68k" , "linuxppc-dev\@lists.ozlabs.org" , Arnd Bergmann , Greg Kroah-Hartman Subject: Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c References: <20150712102527.356151908@telegraphics.com.au> <20150712102528.107134628@telegraphics.com.au> <87d1zwc4dj.fsf@igel.home> X-Yow: Well, I'm a classic ANAL RETENTIVE!! And I'm looking for a way to VICARIOUSLY experience some reason to LIVE!! Date: Tue, 14 Jul 2015 10:33:33 +0200 In-Reply-To: (Geert Uytterhoeven's message of "Tue, 14 Jul 2015 10:23:52 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Geert Uytterhoeven writes: > On Tue, Jul 14, 2015 at 10:17 AM, Finn Thain wrote: >> On Mon, 13 Jul 2015, Andreas Schwab wrote: >>> Finn Thain writes: >>> > BTW, I didn't change the SCSI ID location in NVRAM. This code says 16 >>> > whereas atari_scsi says 14. Which one is correct? >>> >>> I think atari_scsi is wrong. The best source I could find >>> (http://www.gratifiant.com/nvram-falcon-t561185) places it after the >>> video mode byte, thus at byte 16. >> >> Thanks for that. BTW, I googled a phrase from that page and found this one >> http://toshyp.atari.org/en/004009.html >> which may be closer to the source. > > Hence "int" is 16-bits in all those references? Yes, TOS uses 16-bit ints throughout. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab Subject: Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c Date: Tue, 14 Jul 2015 10:33:33 +0200 Message-ID: References: <20150712102527.356151908@telegraphics.com.au> <20150712102528.107134628@telegraphics.com.au> <87d1zwc4dj.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: (Geert Uytterhoeven's message of "Tue, 14 Jul 2015 10:23:52 +0200") Sender: linux-kernel-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Finn Thain , "linux-kernel@vger.kernel.org" , Linux/m68k , "linuxppc-dev@lists.ozlabs.org" , Arnd Bergmann , Greg Kroah-Hartman List-Id: linux-m68k@vger.kernel.org Geert Uytterhoeven writes: > On Tue, Jul 14, 2015 at 10:17 AM, Finn Thain wrote: >> On Mon, 13 Jul 2015, Andreas Schwab wrote: >>> Finn Thain writes: >>> > BTW, I didn't change the SCSI ID location in NVRAM. This code says 16 >>> > whereas atari_scsi says 14. Which one is correct? >>> >>> I think atari_scsi is wrong. The best source I could find >>> (http://www.gratifiant.com/nvram-falcon-t561185) places it after the >>> video mode byte, thus at byte 16. >> >> Thanks for that. BTW, I googled a phrase from that page and found this one >> http://toshyp.atari.org/en/004009.html >> which may be closer to the source. > > Hence "int" is 16-bits in all those references? Yes, TOS uses 16-bit ints throughout. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."