Problem Report amd64/78848 "sis driver on FreeBSD 5.x does not
work on amd64"
John Baldwin
jhb at FreeBSD.org
Mon Mar 28 12:18:24 PST 2005
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 at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-amd64
mailing list