From owner-freebsd-current Wed Apr 5 15:40:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from enigma.whacky.net (enigma.whacky.net [194.109.204.120]) by hub.freebsd.org (Postfix) with ESMTP id 7161537B6A3 for ; Wed, 5 Apr 2000 15:40:29 -0700 (PDT) (envelope-from stephanb@enigma.whacky.net) Received: (from stephanb@localhost) by enigma.whacky.net (8.9.3/8.9.3) id AAA90141 for current@freebsd.org; Thu, 6 Apr 2000 00:40:21 +0200 (CEST) (envelope-from stephanb) Date: Thu, 6 Apr 2000 00:00:53 +0200 From: Stephan van Beerschoten To: current@freebsd.org Subject: dev/vx/if_vx_pci.c 5.0-CURRENT Message-ID: <20000406004011.A89888@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Maybe there are some people with the same problem .. or maybe someone who knows what this could be and how this problem sneaked into the system. I'm cunning -CURRENT for ages but since March 19 I am unable to compile myself a new kernel. I'm cunning 5.0-CURRENT but somehow I don't think that matters this time since the modification timestamp for the the vx devicedriver is Sat Jan 29 14:50:32 2000 (cvs timestamp that is). Its about the following ethernetcard: (info from dmesg of running kernel) vx0: <3COM 3C590 Etherlink III PCI> port 0xec00-0xec1f irq 11 at device 17.0 on pci0 With a nicely updated cvs sourctree it fails on me when I run make. I get the following warnings and the final error: cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -n -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../dev/vx/if_vx_pci.c ../../dev/vx/if_vx_pci.c:131: variable `vxdevice' has initializer but incomplete type ../../dev/vx/if_vx_pci.c:132: warning: excess elements in struct initializer ../../dev/vx/if_vx_pci.c:132: warning: (near initialization for `vxdevice') ../../dev/vx/if_vx_pci.c:133: warning: excess elements in struct initializer ../../dev/vx/if_vx_pci.c:133: warning: (near initialization for `vxdevice') ../../dev/vx/if_vx_pci.c:134: warning: excess elements in struct initializer ../../dev/vx/if_vx_pci.c:134: warning: (near initialization for `vxdevice') ../../dev/vx/if_vx_pci.c:135: warning: excess elements in struct initializer ../../dev/vx/if_vx_pci.c:135: warning: (near initialization for `vxdevice') ../../dev/vx/if_vx_pci.c:137: warning: excess elements in struct initializer ../../dev/vx/if_vx_pci.c:137: warning: (near initialization for `vxdevice') ../../dev/vx/if_vx_pci.c:139: warning: type defaults to `int' in declaration of `COMPAT_PCI_DRIVER' ../../dev/vx/if_vx_pci.c:139: warning: parameter names (without types) in function declaration ../../dev/vx/if_vx_pci.c:139: warning: data definition has no type or storage class ../../dev/vx/if_vx_pci.c:131: warning: `vxdevice' defined but not used *** Error code 1 This is the relevant piece of my config file: (the xl device does work btw) # PCI Ethernet NICs. device vx # 3Com 3c590, 3c595 (``Vortex'') device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') My world is current as of yesterday.. Anyone? I hate to post to -current *grin* but I have found absolutely nothing in my mailarchives and on the webarchive. Here are some final details about my system: FreeBSD tripwire.whacky.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Mar 19 19:13:00 CET 2000 stephanb@tripwire.whacky.net:/mnt/archive/CVS/5.0-CURRENT/src/sys/compile/TRIPWIRE i386 CPU: Pentium II/Pentium II Xeon/Celeron (412.37-MHz 686-class CPU) real memory = 268369920 (262080K bytes) pci1: xl0: <3Com 3c905C-TX Fast Etherlink XL> ahc0: vx0: <3COM 3C590 Etherlink III PCI> sbc0: da0: Fixed Direct Access SCSI-3 device da1: Fixed Direct Access SCSI-2 device cd0: Removable CD-ROM SCSI-2 device cd1: Removable CD-ROM SCSI-2 device -Steve -- Stephan van Beerschoten stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 In god we trust.. all others we verify with PGP fingerprints To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message