Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jan 2001 00:23:23 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        kc5vdj@prodigy.net
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: if_fpa.c is broke again. 
Message-ID:  <200101020823.f028NN807893@mobile.wemm.org>
In-Reply-To: <200101012146.f01LkSN12741@ppp-207-193-3-100.kscymo.swbell.net> 

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

Actually, the problem is the opposite.. It has not been modified, but some
of the old backwards compatability infrastructure got cleaned out, leaving
fpa broken.  It doesn't appear to be too hard to adapt to newbus, is it
a major showstopper for you?

> 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 -Wnest
    ed-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winli
    ne -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. -I/usr/src/sy
    s -I/usr/src/sys/dev -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/a
    cpica/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 prot
    otype
> /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 on
    ly 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 prot
    otype
> /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 funct
    ion)
> /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 i
    ncomplete type
> /usr/src/sys/dev/pdq/if_fpa.c:211: warning: excess elements in struct initial
    izer
> /usr/src/sys/dev/pdq/if_fpa.c:211: warning: (near initialization for `fpadevi
    ce')
> /usr/src/sys/dev/pdq/if_fpa.c:212: warning: excess elements in struct initial
    izer
> /usr/src/sys/dev/pdq/if_fpa.c:212: warning: (near initialization for `fpadevi
    ce')
> /usr/src/sys/dev/pdq/if_fpa.c:213: warning: excess elements in struct initial
    izer
> /usr/src/sys/dev/pdq/if_fpa.c:213: warning: (near initialization for `fpadevi
    ce')
> /usr/src/sys/dev/pdq/if_fpa.c:214: warning: excess elements in struct initial
    izer
> /usr/src/sys/dev/pdq/if_fpa.c:214: warning: (near initialization for `fpadevi
    ce')
> /usr/src/sys/dev/pdq/if_fpa.c:216: warning: excess elements in struct initial
    izer
> /usr/src/sys/dev/pdq/if_fpa.c:216: warning: (near initialization for `fpadevi
    ce')
> /usr/src/sys/dev/pdq/if_fpa.c:218: warning: type defaults to `int' in declara
    tion of `COMPAT_PCI_DRIVER'
> /usr/src/sys/dev/pdq/if_fpa.c:218: warning: parameter names (without types) i
    n function declaration
> /usr/src/sys/dev/pdq/if_fpa.c:218: warning: data definition has no type or st
    orage 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.NOA
    M
> HF/VHF: IC-706MkII   VHF/UHF/SHF: IC-T81A    KPC3+ & PK-232MBX    Grid: EM28p
    x
> -----------------------------------------------------------------------------
    -
>   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
> 

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5



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?200101020823.f028NN807893>