Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Erik Troan <ewt@redhat.com>
Subject: Re: amd on Linux/Alpha Redhat 4.1
Date: Wed, 26 Feb 1997 17:26:33 -0500 (EST)	[thread overview]
Message-ID: <c3b4a3c3e6dfddccd8914433c23a890e.axp-list@archive.invalid> (raw)
In-Reply-To: <199702192305.PAA30521@icarus.icarus.com>

How can I reproduce the problem this causes?

On Wed, 19 Feb 1997, Stephen Williams wrote:

> 
> OK, this definitely fixes AMD on the alpha, at least for now. The required
> change is so tiny that I'll just tell you what it is. ...
> 
> change line 418 of amd/wire.c from
> 
> 		subnet = htonl(subnet); 
> 
> to read like this:
> 
> 		subnet = ntohl(subnet) & 0xffffffffUL; 
> 
> Done. (Oh yes, change axp to alpha in the spec file, too.)
> 
> Somebody is sign-extending the swapped word to fill 64bits. This
> breaks a while loop a few statements lower. Ugh. I don't know if
> there is a clear word at to whether ntohl and friends are supposed to
> treat the values as signed or unsigned, but the above mask will work
> no matter what the final ruling is, and gets AMD working for those
> who would rather get on with it.
> 
> -- 
> Steve Williams
> steve@icarus.com
> steve@picturel.com
> 
> "The woods are lovely, dark and deep.  But I have promises to keep,
> And lines to code before I sleep, And lines to code before I sleep."
> 
> 

-------------------------------------------------------------------------------
|       I told you I'm not very bright -- Sugar in "Some Like It Hot"         |
|      "RPM is the greatest thing since swap-space" - Bryan C. Andregg
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-02-26 22:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-19 23:05 amd on Linux/Alpha Redhat 4.1 Stephen Williams
1997-02-26 22:26 ` Erik Troan [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-02-27  5:02 Stephen Williams
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox