Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 1996 22:01:19 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru>
To:        Guido.vanRooij@nl.cis.philips.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: new if_vx driver on freefall
Message-ID:  <199609171801.WAA01753@nagual.ru>
In-Reply-To: <199609170722.JAA06932@spooky.lss.cp.philips.com> from "Guido van Rooij" at "Sep 17, 96 09:22:01 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> I've put the two following files on ftp://freefall.freebsd.org:/pub/inccoming:
> 
> newif_vx.tgz
> newif_vx.tgz.README
> 
> Ppl with hanging cards should try them out. There is a gross hack inside
> but I first need to get sepcs form 3com to identify what's going on.

Nope, I can't compile it in -current, even after removing nonexistent
sys/devconf.h include I got:

cc -c -O2 -m486 -pipe -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline -Wunused -Wpointer-arith  -nostdinc -I. -I../.. -I../../sys -I../../../include -DI586_CPU -DI686_CPU -DI586_FAST_BCOPY -DCOMPAT_43 -DFFS -DINET -DKERNEL  ../../pci/if_vx.c
../../pci/if_vx.c:133: warning: `struct kern_devconf' declared inside parameter list
../../pci/if_vx.c:133: warning: its scope is only this definition or declaration,
../../pci/if_vx.c:133: warning: which is probably not what you want.
../../pci/if_vx.c: In function `vx_pci_shutdown':
../../pci/if_vx.c:135: dereferencing pointer to incomplete type
../../pci/if_vx.c:136: warning: implicit declaration of function `dev_detach'
../../pci/if_vx.c: In function `vx_pci_attach':
../../pci/if_vx.c:234: `IFF_NOTRAILERS' undeclared (first use this function)
../../pci/if_vx.c:234: (Each undeclared identifier is reported only once
../../pci/if_vx.c:234: for each function it appears in.)
../../pci/if_vx.c:238: warning: assignment from incompatible pointer type
../../pci/if_vx.c:244: warning: passing arg 1 of `bpfattach' from incompatible pointer type
../../pci/if_vx.c:244: warning: passing arg 2 of `bpfattach' makes integer from pointer without a cast
../../pci/if_vx.c:244: too many arguments to function `bpfattach'
../../pci/if_vx.c:162: warning: unused variable `p'
../../pci/if_vx.c: At top level:
../../pci/if_vx.c:261: warning: initialization from incompatible pointer type
../../pci/if_vx.c: In function `vxinit':
../../pci/if_vx.c:276: warning: unused variable `j'
../../pci/if_vx.c:276: warning: unused variable `s'
../../pci/if_vx.c: In function `vxstart':
../../pci/if_vx.c:431: `s' undeclared (first use this function)
../../pci/if_vx.c:452: warning: passing arg 1 of `bpf_mtap' from incompatible pointer type
../../pci/if_vx.c: In function `vxintr':
../../pci/if_vx.c:602: warning: unused variable `ret'
../../pci/if_vx.c: In function `vxread':
../../pci/if_vx.c:718: warning: passing arg 1 of `bpf_mtap' from incompatible pointer type
../../pci/if_vx.c: In function `vxreset':
../../pci/if_vx.c:986: warning: unused variable `sc'
*** Error code 1

Stop.


-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/



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