Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 101 15:46:26 -0600 (CST)
From:      Jim Bryant <jbryant@ppp-207-193-3-100.kscymo.swbell.net>
To:        freebsd-current@freebsd.org
Subject:   if_fpa.c is broke again.
Message-ID:  <200101012146.f01LkSN12741@ppp-207-193-3-100.kscymo.swbell.net>

next in thread | raw e-mail | index | archive | help
Hi, it looks like if_fpa.c has been modified again, but was checked
into CVS untested.

from a basic GENERIC, with nothing other than the fddi and fpa devices
added to the config, I get the attached messages on compile.

also, i noticed that in pdareg.h, that the full duplex options are
included in the structs, but they are used nowhere int he driver
itself, that seems to use the adapter in half duplex mode.  Are there
plans to add the full duplex functionality in the near future?

-----------------------
cc -c -O2 -mpentiumpro -march=pentiumpro -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  /usr/src/sys/dev/pdq/if_fpa.c
/usr/src/sys/dev/pdq/if_fpa.c:141: syntax error before `config_id'
/usr/src/sys/dev/pdq/if_fpa.c:143: warning: function declaration isn't a prototype
/usr/src/sys/dev/pdq/if_fpa.c: In function `pdq_pci_probe':
/usr/src/sys/dev/pdq/if_fpa.c:144: `device_id' undeclared (first use in this function)
/usr/src/sys/dev/pdq/if_fpa.c:144: (Each undeclared identifier is reported only once
/usr/src/sys/dev/pdq/if_fpa.c:144: for each function it appears in.)
/usr/src/sys/dev/pdq/if_fpa.c: At top level:
/usr/src/sys/dev/pdq/if_fpa.c:152: syntax error before `config_id'
/usr/src/sys/dev/pdq/if_fpa.c:154: warning: function declaration isn't a prototype
/usr/src/sys/dev/pdq/if_fpa.c: In function `pdq_pci_attach':
/usr/src/sys/dev/pdq/if_fpa.c:159: `unit' undeclared (first use in this function)
/usr/src/sys/dev/pdq/if_fpa.c:165: warning: implicit declaration of function `pci_conf_read'
/usr/src/sys/dev/pdq/if_fpa.c:165: `config_id' undeclared (first use in this function)
/usr/src/sys/dev/pdq/if_fpa.c:169: warning: implicit declaration of function `pci_conf_write'
/usr/src/sys/dev/pdq/if_fpa.c:176: warning: implicit declaration of function `pci_map_mem'
/usr/src/sys/dev/pdq/if_fpa.c:194: warning: implicit declaration of function `pci_map_int'
/usr/src/sys/dev/pdq/if_fpa.c: At top level:
/usr/src/sys/dev/pdq/if_fpa.c:210: variable `fpadevice' has initializer but incomplete type
/usr/src/sys/dev/pdq/if_fpa.c:211: warning: excess elements in struct initializer
/usr/src/sys/dev/pdq/if_fpa.c:211: warning: (near initialization for `fpadevice')
/usr/src/sys/dev/pdq/if_fpa.c:212: warning: excess elements in struct initializer
/usr/src/sys/dev/pdq/if_fpa.c:212: warning: (near initialization for `fpadevice')
/usr/src/sys/dev/pdq/if_fpa.c:213: warning: excess elements in struct initializer
/usr/src/sys/dev/pdq/if_fpa.c:213: warning: (near initialization for `fpadevice')
/usr/src/sys/dev/pdq/if_fpa.c:214: warning: excess elements in struct initializer
/usr/src/sys/dev/pdq/if_fpa.c:214: warning: (near initialization for `fpadevice')
/usr/src/sys/dev/pdq/if_fpa.c:216: warning: excess elements in struct initializer
/usr/src/sys/dev/pdq/if_fpa.c:216: warning: (near initialization for `fpadevice')
/usr/src/sys/dev/pdq/if_fpa.c:218: warning: type defaults to `int' in declaration of `COMPAT_PCI_DRIVER'
/usr/src/sys/dev/pdq/if_fpa.c:218: warning: parameter names (without types) in function declaration
/usr/src/sys/dev/pdq/if_fpa.c:218: warning: data definition has no type or storage class
/usr/src/sys/dev/pdq/if_fpa.c:210: warning: `fpadevice' defined but not used
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


jim
-- 
All opinions expressed are mine, if you    |  "I will not be pushed, stamped,
think otherwise, then go jump into turbid  |  briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!      |  numbered!" - #1, "The Prisoner"
------------------------------------------------------------------------------
kc5vdj@prodigy.net      KC5VDJ - HF to 23cm      KC5VDJ@NW0I.#NEKS.KS.USA.NOAM
HF/VHF: IC-706MkII   VHF/UHF/SHF: IC-T81A    KPC3+ & PK-232MBX    Grid: EM28px
------------------------------------------------------------------------------
  ET has one helluva sense of humor, always anal-probing right-wing schizos!


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?200101012146.f01LkSN12741>