| Re: [hatari-devel] nf_scsidrv: Support for two buses | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] nf_scsidrv: Support for two buses
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 13 Dec 2020 10:33:29 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1607852009;	s=strato-dkim-0002; d=seimet.de;	h=In-Reply-To:References:Message-ID:Subject:To:From:Date:From:Subject:	Sender;	bh=FG3cVB0qPfvXvqFct6lXWbLY89fnC+UmY/o3CD8r49M=;	b=JidgspaCXgOBRtu9ToSnFSbcGudpnoc9WnhcpPyyWIigEw4zc4K+4SzUL9/PW5/BNP	kXQmuOHaB9y6NG6No1OQG8NgO4mSLXnlsEvEBiygNF+PJs8g6eWA6Lxrf0cucvupK6gO	FK+RxUSBTW/fw6W/SItvw6oxun/vRpLGC3srarb0qlzjNkTi+hH+4RpZ7s0hJO7CKqSJ	BzccFQ/cT1gnQWjCPPaLmPo2reZfvqBKgQenjBS2WbIXw/WtDJnyMGVka1uI78mabHEb	nVM0OjrplRKmPn9JHYdDwAO++EVPsKaP9Ti3KaNp/5HU7QNrITwJQhfVC6SY0zVmVsUZ	DZ3Q==
Hi Thorsten,
Initially I was also thinking of this kind of encoding, but then I discarded
this idea. I don't know anymore why, though. I will revisit this.
Best regards
Uwe
> On Sonntag, 13. Dezember 2020 10:05:23 CET Uwe Seimet wrote:
> > @Thorsten Are you reading this? Sooner or later I would also like to update
> > the ARAnyM driver. There are only minor changes.
> 
> Yes.
> 
> But, after a quick look through the diffs: Wouldn't it be easier to just 
> encode the bus index in the id? That way, there won't be much changes needed 
> at all in the interface. Only the TOS part has to be updated.
> 
> Currently, the changes require that you use the *exact* version number of the 
> driver that corresponds to the interface, which is not very practicable, if 
> you use the same driver both for Hatari and Aranym, and they implemented 
> different interfaces (which will almost always be the case, depending on which 
> version of Hatari/Aranym a distribution ships).
>