Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754236AbbGVEWq (ORCPT ); Wed, 22 Jul 2015 00:22:46 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:58584 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbbGVEWp (ORCPT ); Wed, 22 Jul 2015 00:22:45 -0400 Date: Wed, 22 Jul 2015 14:22:21 +1000 (AEST) From: Finn Thain To: Michael Schmitz cc: Andreas Schwab , linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Geert Uytterhoeven , Arnd Bergmann , Greg Kroah-Hartman Subject: Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c In-Reply-To: <55AF1364.3080701@gmail.com> Message-ID: References: <20150712102527.356151908@telegraphics.com.au> <20150712102528.107134628@telegraphics.com.au> <87d1zwc4dj.fsf@igel.home> <55AF1364.3080701@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2054 Lines: 59 On Wed, 22 Jul 2015, Michael Schmitz wrote: > Hi Finn, > > I'm afraid I cannot test anything on Atari hardware at present - my > Falcon ate it's IDE disk partition table with all the fun that entails. That doesn't sound good. > Haven't even begun to try and recover that yet. > > If you send a patch I could build a kernel and send that to Christian > for testing (if he's got his Falcon up and running - might be a tad warm > in the attic for that, in fact). Anyone with a suitable Atari, i.e. ATARIHW_PRESENT(TT_CLK), who can boot both TOS and Linux could resolve the question. (Perhaps with an emulator?) Any old kernel binary would do, since atari_scsi should print either "HOSTID=n" or "this_id n" at startup. If n doesn't agree with what TOS says about the host's SCSI ID, then I think a trivial patch is safe enough. Especially if cat /proc/driver/nvram produces a "SCSI host ID : m" that does agree with TOS. Regards, Finn > > Cheers, > > Michael > > > Am 14.07.15 um 20:17 schrieb Finn Thain: > > 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. > > > > I'll send a patch if someone can offer to test such a change to atari_scsi > > (or merely confirm that the SCSI ID setting in TOS does not match this_id > > given in dmesg). > > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/