Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 13:51:13 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-amd64@FreeBSD.org
Cc:        Stasys Smailys <ssmailys@komvista.lt>
Subject:   Re: Problem Report amd64/78848 "sis driver on FreeBSD 5.x does not work on amd64"
Message-ID:  <200503281351.13440.jhb@FreeBSD.org>
In-Reply-To: <4247CAA3.90804@komvista.lt>
References:  <4247CAA3.90804@komvista.lt>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 28 March 2005 04:13 am, Stasys Smailys wrote:
> Hello there!
>
> I've had the same problem with SiS 755 and SiS 964 on ASRock K8S8X, the
> only difference was that MAC address had all zeros (00:00:00:00:00:00).
> The problem is that integrated NIC doesn't have any eeprom to read from.
> I solved it by applying this patch. As by now it works for me. AFAIK it
> is not solved properly even in -CURRENT.
>
> By the way I noticed some typo in
> /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c and
> /usr/src/lib/libc/i386/sys/_amd64_get_gsbase.c. IMHO when calling
> sysarch(int, void *) it should look like this:
>
> /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c:
> [...]
> ret = sysarch(_AMD64_GET_FSBASE, (void *)(&addr64));
> [...]
>
> /usr/src/lib/libc/i386/sys/_amd64_get_gsbase.c:
> [...]
> ret = sysarch(_AMD64_GET_GSBASE, (void *)(&addr64));
> [...]

addr64 is supposed to be a pointer though, so it really is a pointer to a 
pointer that's being passed (void **).

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503281351.13440.jhb>