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"
> -----------------------------------------------------------------------------
    -
> [EMAIL PROTECTED]      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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to