Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753330AbbGWJoc (ORCPT ); Thu, 23 Jul 2015 05:44:32 -0400 Received: from mail-in-16.arcor-online.net ([151.189.21.56]:44176 "EHLO mail-in-16.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbbGWJoL (ORCPT ); Thu, 23 Jul 2015 05:44:11 -0400 X-Greylist: Passed host: 188.108.188.170 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3mcTJR1c15z4nRl X-Greylist: Passed host: 188.108.188.170 X-Greylist: Passed host: 188.108.188.170 X-Greylist: Passed host: 188.108.188.170 X-Greylist: Passed host: 188.108.188.170 X-Greylist: Passed host: 188.108.188.170 X-Greylist: Passed host: 188.108.188.170 X-Greylist: Passed host: 188.108.188.170 X-Greylist: Passed host: 188.108.188.170 Date: Thu, 23 Jul 2015 11:21:14 +0200 From: "Christian T. Steigies" To: Finn Thain Cc: Michael Schmitz , 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 Message-ID: <20150723092114.GA10989@guido.earth.sol> Mail-Followup-To: Finn Thain , Michael Schmitz , Andreas Schwab , linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Geert Uytterhoeven , Arnd Bergmann , Greg Kroah-Hartman 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 Content-Disposition: inline In-Reply-To: X-Info: Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung. X-No-CC: I subscribe to this list; please do not CC me on replies. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2351 Lines: 60 On Wed, Jul 22, 2015 at 02:22:21PM +1000, Finn Thain wrote: > > 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. root@garkin:~>cat /proc/hardware Model: Atari Falcon System Memory: 522752K 510 MB at 0x01000000 (alternate RAM) Detected hardware: Falcon Shifter Programmable Sound Generator PCM 8 Bit Sound CODEC Sound SCSI Controller NCR5380 (Falcon style) IDE Interface 8/16 Mhz Switch for FDC Multi Function Peripheral MFP 68901 Serial Communications Controller SCC 8530 Paddle Interface DMA Controller for SCC Clock Chip MC146818A Blitter DSP56001 processor root@garkin:~>dmesg |grep SCSI [ 0.000000] Atari hardware found: VIDEL STDMA-SCSI ST_MFP YM2149 PCM CODEC DSP56K SCC_DMA SCC ANALOG_JOY BLITTER IDE TT_CLK FDC_SPEED [ 0.410000] SCSI subsystem initialized [ 0.850000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 4.230000] Atari SCSI: resetting the SCSI bus... done [ 6.750000] scsi host0: Atari native SCSI, io_port 0x0, n_io_port 0, base 0x0, irq 15, can_queue 8, cmd_per_lun 1, sg_tablesize 0, this_id 7, flags { }, options { REAL_DMA SUPPORT_TAGS } root@garkin:~>cat /proc/driver/nvram Checksum status : not valid Boot preference : 0xff (undefined) SCSI arbitration : on SCSI host ID : 7 OS language : 255 (undefined) Keyboard language: 255 (undefined) Date format : 7 (undefined), 24h clock Boot delay : 255s Video mode : 4 colors, 40 columns, TV NTSC monitor no overscan, compat. mode off Let me know if you need more info. Christian -- 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/