From owner-freebsd-current Mon Jan 1 13:46:48 2001 From owner-freebsd-current@FreeBSD.ORG Mon Jan 1 13:46:44 2001 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from pimout4-int.prodigy.net (pimout4-ext.prodigy.net [207.115.63.103]) by hub.freebsd.org (Postfix) with ESMTP id 2BC1937B400 for ; Mon, 1 Jan 2001 13:46:44 -0800 (PST) Received: from ppp-207-193-3-100.kscymo.swbell.net (ppp-207-193-3-100.kscymo.swbell.net [207.193.3.100]) by pimout4-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f01LkaZ118020 for ; Mon, 1 Jan 2001 16:46:36 -0500 Received: (from jbryant@localhost) by ppp-207-193-3-100.kscymo.swbell.net (8.11.1/8.9.3) id f01LkSN12741 for freebsd-current@freebsd.org; Mon, 1 Jan 2001 15:46:28 -0600 (CST) (envelope-from jbryant) From: Jim Bryant Message-Id: <200101012146.f01LkSN12741@ppp-207-193-3-100.kscymo.swbell.net> Subject: if_fpa.c is broke again. To: freebsd-current@freebsd.org Date: Mon, 1 Jan 101 15:46:26 -0600 (CST) Reply-To: kc5vdj@prodigy.net X-Windows: R00LZ!@# MS-Winbl0wz DR00LZ!@# X-files: The truth is that the X-Files is fiction X-Republican: The best kind!!! X-Operating-System: FreeBSD 4.0-RELEASE X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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