Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 00:00:53 +0200
From:      Stephan van Beerschoten <stephanb@whacky.net>
To:        current@freebsd.org
Subject:   dev/vx/if_vx_pci.c 5.0-CURRENT
Message-ID:  <20000406004011.A89888@enigma.whacky.net>

next in thread | raw e-mail | index | archive | help
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: <NVidia Riva TNT graphics accelerator>
 xl0: <3Com 3c905C-TX Fast Etherlink XL>
 ahc0: <Adaptec 2940 Ultra SCSI adapter>
 vx0: <3COM 3C590 Etherlink III PCI> 
 sbc0: <Creative SB16/SB32>
 da0: <IBM DGHS18U 0350> Fixed Direct Access SCSI-3 device 
 da1: <HITACHI DK318H-91WS B2B5> Fixed Direct Access SCSI-2 device 
 cd0: <PLEXTOR CD-ROM PX-20TS 1.01> Removable CD-ROM SCSI-2 device 
 cd1: <PLEXTOR CD-R   PX-R412C 1.06> 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




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