sio(4) driver

Maxim Mazurok maxim at km.ua
Fri Aug 22 12:00:01 PDT 2003


On Fri, Aug 22, 2003 at 04:59:56PM +0200, Thomas Moestl wrote:

>> i try to upgrade my 5.1-RELEASE to 5-CURRENT.
>> in 5-CURRENT tree this patch not applied yet.
>> i try to apply your patch and rebuild kernel, but have this:
>> 
>> root at fang:/sys/sparc64/compile/FANG#make all
>> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mcmodel=medlow -msoft-float -ffreestanding -Werror  ../../../dev/sio/sio.c
>> cc1: warnings being treated as errors
>> ../../../dev/sio/sio.c: In function `siocnmap':
>> ../../../dev/sio/sio.c:3448: warning: implicit declaration of function `sparc64_fake_bustag'
>> *** Error code 1
>> 
>> Stop in /var/src/sys/sparc64/compile/FANG.
>> 
>> can you help me?
>
>The declaration for this function was moved around, so you need an
>additional include; an updated patch is available at
>http://people.freebsd.org/~tmm/sio-s64-20030822.diff

tnx, it's worked.
but i no reslolve next problem.
in my Ultra AXi motherboard i have:
1. 4 rl cards
2. dual-port sio card
3. VGA+dual ethernet (hme) card

on 5.1-RELEASE on all hme cards (one onboard and two on PCI card) i have
same mac-address. Width any value OFW option "local-mac-address?".
i rebuild kernel to 5-CURRENT width options OFW_NEWPCI, but i have same
effect. width new problem: rl cards no worked. i have not any arp addresses
from rl cards.

-- 
Maxim Mazurok  (MMP2-RIPE)


More information about the freebsd-sparc64 mailing list