Date: Sat, 22 Jul 2006 19:10:59 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> Cc: freebsd-mobile@freebsd.org Subject: Re: PRO/Wireless 3945ABG (Device not configured) Message-ID: <Pine.GSO.4.64.0607221910320.4394@sea.ntplx.net> In-Reply-To: <20060722200905.324bc2d6.torfinn.ingolfsen@broadpark.no> References: <BAY20-F2343BAC6CF674C7551EC399A670@phx.gbl> <20060722141832.653b5449@localhost> <Pine.GSO.4.64.0607220923020.2079@sea.ntplx.net> <20060722200905.324bc2d6.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sat, 22 Jul 2006, Torfinn Ingolfsen wrote: > On Sat, 22 Jul 2006 09:30:08 -0400 (EDT) > Daniel Eischen <deischen@freebsd.org> wrote: > >> You can try Damien's experimental 3945 driver (wpi) at: >> http://damien.bergamini.free.fr/wpi-freebsd.tgz > > Hey! Man, I have been looking for this driver for days now. :-) > Ok, I'm running FreeBSD 6.1-stable: > tingo@kg-home$ uname -a > FreeBSD kg-home.kg4.no 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 15 > 19:29:16 CEST 2006 > root@kg-home.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 > > But compiling wpi-freebsd fails (see attached error log) > > Iguess I must be doing something wromg here. Do I need to place this > souce code (the driver) in /usr/src somewhere? /usr/src/sys/dev/wpi -- DE [-- Attachment #2 --] ===> wpi_ucode (all) Warning: Object directory not changed from original /usr/home/tingo/work/wpi-freebsd/wpi_ucode ===> wpi (all) Warning: Object directory not changed from original /usr/home/tingo/work/wpi-freebsd/wpi cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c if_wpi.c if_wpi.c:70:31: dev/wpi/if_wpireg.h: No such file or directory if_wpi.c:71:31: dev/wpi/if_wpivar.h: No such file or directory if_wpi.c:104: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:104: warning: its scope is only this definition or declaration, which is probably not what you want if_wpi.c:105: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:106: warning: "struct wpi_rx_ring" declared inside parameter list if_wpi.c:106: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:107: warning: "struct wpi_rx_ring" declared inside parameter list if_wpi.c:107: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:108: warning: "struct wpi_rx_ring" declared inside parameter list if_wpi.c:108: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:110: warning: "struct wpi_tx_ring" declared inside parameter list if_wpi.c:110: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:111: warning: "struct wpi_tx_ring" declared inside parameter list if_wpi.c:111: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:112: warning: "struct wpi_tx_ring" declared inside parameter list if_wpi.c:112: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:116: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:117: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:118: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:119: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:121: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:122: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:123: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:125: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:127: warning: "struct wpi_rx_data" declared inside parameter list if_wpi.c:127: warning: "struct wpi_rx_desc" declared inside parameter list if_wpi.c:127: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:129: warning: "struct wpi_rx_data" declared inside parameter list if_wpi.c:129: warning: "struct wpi_rx_desc" declared inside parameter list if_wpi.c:129: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:130: warning: "struct wpi_rx_desc" declared inside parameter list if_wpi.c:130: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:131: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:135: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:139: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:140: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:142: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:143: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:144: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:145: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:146: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:147: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:148: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:149: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:150: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:151: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:152: warning: "struct wpi_softc" declared inside parameter list if_wpi.c:155: warning: "struct wpi_amrr" declared inside parameter list if_wpi.c:182: error: invalid application of `sizeof' to incomplete type `wpi_softc' if_wpi.c: In function `wpi_attach': if_wpi.c:232: error: dereferencing pointer to incomplete type if_wpi.c:235: error: dereferencing pointer to incomplete type if_wpi.c:237: error: dereferencing pointer to incomplete type if_wpi.c:239: error: dereferencing pointer to incomplete type if_wpi.c:252: error: dereferencing pointer to incomplete type if_wpi.c:253: error: dereferencing pointer to incomplete type if_wpi.c:253: error: dereferencing pointer to incomplete type if_wpi.c:255: error: dereferencing pointer to incomplete type if_wpi.c:261: error: dereferencing pointer to incomplete type if_wpi.c:261: error: dereferencing pointer to incomplete type if_wpi.c:262: error: dereferencing pointer to incomplete type if_wpi.c:262: error: dereferencing pointer to incomplete type if_wpi.c:264: error: dereferencing pointer to incomplete type if_wpi.c:265: error: dereferencing pointer to incomplete type if_wpi.c:265: error: dereferencing pointer to incomplete type if_wpi.c:267: error: dereferencing pointer to incomplete type if_wpi.c:290: error: dereferencing pointer to incomplete type if_wpi.c:290: error: `WPI_TX_RING_COUNT' undeclared (first use in this function) if_wpi.c:290: error: (Each undeclared identifier is reported only once if_wpi.c:290: error: for each function it appears in.) if_wpi.c:299: error: dereferencing pointer to incomplete type if_wpi.c:299: error: `WPI_CMD_RING_COUNT' undeclared (first use in this function) if_wpi.c:305: error: dereferencing pointer to incomplete type if_wpi.c:305: error: `WPI_SVC_RING_COUNT' undeclared (first use in this function) if_wpi.c:311: error: dereferencing pointer to incomplete type if_wpi.c:317: error: dereferencing pointer to incomplete type if_wpi.c:387: error: dereferencing pointer to incomplete type if_wpi.c:392: error: dereferencing pointer to incomplete type if_wpi.c:394: error: dereferencing pointer to incomplete type if_wpi.c:394: error: dereferencing pointer to incomplete type if_wpi.c:395: error: dereferencing pointer to incomplete type if_wpi.c:395: error: dereferencing pointer to incomplete type if_wpi.c:396: error: dereferencing pointer to incomplete type if_wpi.c:396: error: `WPI_RX_RADIOTAP_PRESENT' undeclared (first use in this function) if_wpi.c:398: error: dereferencing pointer to incomplete type if_wpi.c:398: error: dereferencing pointer to incomplete type if_wpi.c:399: error: dereferencing pointer to incomplete type if_wpi.c:399: error: dereferencing pointer to incomplete type if_wpi.c:400: error: dereferencing pointer to incomplete type if_wpi.c:400: error: `WPI_TX_RADIOTAP_PRESENT' undeclared (first use in this function) if_wpi.c:405: error: dereferencing pointer to incomplete type if_wpi.c:406: error: dereferencing pointer to incomplete type if_wpi.c:417: error: dereferencing pointer to incomplete type if_wpi.c:418: error: dereferencing pointer to incomplete type if_wpi.c:419: error: dereferencing pointer to incomplete type if_wpi.c:421: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_detach': if_wpi.c:431: error: dereferencing pointer to incomplete type if_wpi.c:436: error: dereferencing pointer to incomplete type if_wpi.c:444: error: dereferencing pointer to incomplete type if_wpi.c:445: error: dereferencing pointer to incomplete type if_wpi.c:446: error: dereferencing pointer to incomplete type if_wpi.c:447: error: dereferencing pointer to incomplete type if_wpi.c:450: error: dereferencing pointer to incomplete type if_wpi.c:451: error: dereferencing pointer to incomplete type if_wpi.c:451: error: dereferencing pointer to incomplete type if_wpi.c:452: error: dereferencing pointer to incomplete type if_wpi.c:452: error: dereferencing pointer to incomplete type if_wpi.c:455: error: dereferencing pointer to incomplete type if_wpi.c:456: error: dereferencing pointer to incomplete type if_wpi.c:456: error: dereferencing pointer to incomplete type if_wpi.c:461: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_dma_map_nsegs': if_wpi.c:486: error: dereferencing pointer to incomplete type if_wpi.c:487: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_alloc_shared': if_wpi.c:502: error: dereferencing pointer to incomplete type if_wpi.c:504: error: dereferencing pointer to incomplete type if_wpi.c:509: error: dereferencing pointer to incomplete type if_wpi.c:509: error: dereferencing pointer to incomplete type if_wpi.c:510: error: dereferencing pointer to incomplete type if_wpi.c:512: error: dereferencing pointer to incomplete type if_wpi.c:517: error: dereferencing pointer to incomplete type if_wpi.c:517: error: dereferencing pointer to incomplete type if_wpi.c:517: error: dereferencing pointer to incomplete type if_wpi.c:518: error: invalid application of `sizeof' to incomplete type `wpi_shared' if_wpi.c:518: error: dereferencing pointer to incomplete type if_wpi.c:520: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_free_shared': if_wpi.c:534: error: dereferencing pointer to incomplete type if_wpi.c:535: error: dereferencing pointer to incomplete type if_wpi.c:535: error: dereferencing pointer to incomplete type if_wpi.c:535: error: dereferencing pointer to incomplete type if_wpi.c:537: error: dereferencing pointer to incomplete type if_wpi.c:537: error: dereferencing pointer to incomplete type if_wpi.c:537: error: dereferencing pointer to incomplete type if_wpi.c:538: error: dereferencing pointer to incomplete type if_wpi.c:538: error: dereferencing pointer to incomplete type if_wpi.c:538: error: dereferencing pointer to incomplete type if_wpi.c:541: error: dereferencing pointer to incomplete type if_wpi.c:542: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:546: warning: "struct wpi_rx_ring" declared inside parameter list if_wpi.c:547: error: conflicting types for 'wpi_alloc_rx_ring' if_wpi.c:106: error: previous declaration of 'wpi_alloc_rx_ring' was here if_wpi.c:547: error: conflicting types for 'wpi_alloc_rx_ring' if_wpi.c:106: error: previous declaration of 'wpi_alloc_rx_ring' was here if_wpi.c: In function `wpi_alloc_rx_ring': if_wpi.c:551: error: dereferencing pointer to incomplete type if_wpi.c:553: error: `WPI_RING_DMA_ALIGN' undeclared (first use in this function) if_wpi.c:555: error: `WPI_RX_RING_COUNT' undeclared (first use in this function) if_wpi.c:557: error: dereferencing pointer to incomplete type if_wpi.c:559: error: dereferencing pointer to incomplete type if_wpi.c:564: error: dereferencing pointer to incomplete type if_wpi.c:564: error: dereferencing pointer to incomplete type if_wpi.c:565: error: dereferencing pointer to incomplete type if_wpi.c:567: error: dereferencing pointer to incomplete type if_wpi.c:572: error: dereferencing pointer to incomplete type if_wpi.c:572: error: dereferencing pointer to incomplete type if_wpi.c:572: error: dereferencing pointer to incomplete type if_wpi.c:574: error: dereferencing pointer to incomplete type if_wpi.c:576: error: dereferencing pointer to incomplete type if_wpi.c:582: error: dereferencing pointer to incomplete type if_wpi.c:584: error: dereferencing pointer to incomplete type if_wpi.c:592: error: dereferencing pointer to incomplete type if_wpi.c:594: error: dereferencing pointer to incomplete type if_wpi.c:594: error: dereferencing pointer to incomplete type if_wpi.c:596: error: dereferencing pointer to incomplete type if_wpi.c:601: error: dereferencing pointer to incomplete type if_wpi.c:602: error: dereferencing pointer to incomplete type if_wpi.c:603: error: dereferencing pointer to incomplete type if_wpi.c:609: error: dereferencing pointer to incomplete type if_wpi.c:609: error: dereferencing pointer to incomplete type if_wpi.c:610: error: dereferencing pointer to incomplete type if_wpi.c:611: error: dereferencing pointer to incomplete type if_wpi.c:613: error: dereferencing pointer to incomplete type if_wpi.c:618: error: dereferencing pointer to incomplete type if_wpi.c:618: error: dereferencing pointer to incomplete type if_wpi.c:621: error: dereferencing pointer to incomplete type if_wpi.c:621: error: dereferencing pointer to incomplete type if_wpi.c:621: error: dereferencing pointer to incomplete type if_wpi.c:625: warning: passing arg 2 of `wpi_free_rx_ring' from incompatible pointer type if_wpi.c: At top level: if_wpi.c:630: warning: "struct wpi_rx_ring" declared inside parameter list if_wpi.c:631: error: conflicting types for 'wpi_reset_rx_ring' if_wpi.c:107: error: previous declaration of 'wpi_reset_rx_ring' was here if_wpi.c:631: error: conflicting types for 'wpi_reset_rx_ring' if_wpi.c:107: error: previous declaration of 'wpi_reset_rx_ring' was here if_wpi.c: In function `wpi_reset_rx_ring': if_wpi.c:636: warning: implicit declaration of function `WPI_WRITE' if_wpi.c:636: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: error: `WPI_RX_CONFIG' undeclared (first use in this function) if_wpi.c:638: warning: implicit declaration of function `WPI_READ' if_wpi.c:638: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: error: `WPI_RX_STATUS' undeclared (first use in this function) if_wpi.c:638: error: `WPI_RX_IDLE' undeclared (first use in this function) if_wpi.c:644: error: dereferencing pointer to incomplete type if_wpi.c:648: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:652: warning: "struct wpi_rx_ring" declared inside parameter list if_wpi.c:653: error: conflicting types for 'wpi_free_rx_ring' if_wpi.c:108: error: previous declaration of 'wpi_free_rx_ring' was here if_wpi.c:653: error: conflicting types for 'wpi_free_rx_ring' if_wpi.c:108: error: previous declaration of 'wpi_free_rx_ring' was here if_wpi.c: In function `wpi_free_rx_ring': if_wpi.c:657: error: dereferencing pointer to incomplete type if_wpi.c:658: error: dereferencing pointer to incomplete type if_wpi.c:658: error: dereferencing pointer to incomplete type if_wpi.c:658: error: dereferencing pointer to incomplete type if_wpi.c:660: error: dereferencing pointer to incomplete type if_wpi.c:660: error: dereferencing pointer to incomplete type if_wpi.c:660: error: dereferencing pointer to incomplete type if_wpi.c:661: error: dereferencing pointer to incomplete type if_wpi.c:661: error: dereferencing pointer to incomplete type if_wpi.c:661: error: dereferencing pointer to incomplete type if_wpi.c:664: error: dereferencing pointer to incomplete type if_wpi.c:665: error: dereferencing pointer to incomplete type if_wpi.c:667: error: `WPI_RX_RING_COUNT' undeclared (first use in this function) if_wpi.c:668: error: dereferencing pointer to incomplete type if_wpi.c:670: error: dereferencing pointer to incomplete type if_wpi.c:671: error: dereferencing pointer to incomplete type if_wpi.c:671: error: dereferencing pointer to incomplete type if_wpi.c:671: error: dereferencing pointer to incomplete type if_wpi.c:673: error: dereferencing pointer to incomplete type if_wpi.c:673: error: dereferencing pointer to incomplete type if_wpi.c:673: error: dereferencing pointer to incomplete type if_wpi.c:674: error: dereferencing pointer to incomplete type if_wpi.c:677: error: dereferencing pointer to incomplete type if_wpi.c:678: error: dereferencing pointer to incomplete type if_wpi.c:678: error: dereferencing pointer to incomplete type if_wpi.c:681: error: dereferencing pointer to incomplete type if_wpi.c:682: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:687: warning: "struct wpi_tx_ring" declared inside parameter list if_wpi.c:688: error: conflicting types for 'wpi_alloc_tx_ring' if_wpi.c:110: error: previous declaration of 'wpi_alloc_tx_ring' was here if_wpi.c:688: error: conflicting types for 'wpi_alloc_tx_ring' if_wpi.c:110: error: previous declaration of 'wpi_alloc_tx_ring' was here if_wpi.c: In function `wpi_alloc_tx_ring': if_wpi.c:692: error: dereferencing pointer to incomplete type if_wpi.c:693: error: dereferencing pointer to incomplete type if_wpi.c:694: error: dereferencing pointer to incomplete type if_wpi.c:695: error: dereferencing pointer to incomplete type if_wpi.c:697: error: `WPI_RING_DMA_ALIGN' undeclared (first use in this function) if_wpi.c:699: error: invalid application of `sizeof' to incomplete type `wpi_tx_desc' if_wpi.c:700: error: invalid application of `sizeof' to incomplete type `wpi_tx_desc' if_wpi.c:701: error: dereferencing pointer to incomplete type if_wpi.c:703: error: dereferencing pointer to incomplete type if_wpi.c:708: error: dereferencing pointer to incomplete type if_wpi.c:708: error: dereferencing pointer to incomplete type if_wpi.c:709: error: dereferencing pointer to incomplete type if_wpi.c:711: error: dereferencing pointer to incomplete type if_wpi.c:716: error: dereferencing pointer to incomplete type if_wpi.c:716: error: dereferencing pointer to incomplete type if_wpi.c:716: error: dereferencing pointer to incomplete type if_wpi.c:717: error: invalid application of `sizeof' to incomplete type `wpi_tx_desc' if_wpi.c:718: error: dereferencing pointer to incomplete type if_wpi.c:720: error: dereferencing pointer to incomplete type if_wpi.c:725: error: dereferencing pointer to incomplete type if_wpi.c:725: error: dereferencing pointer to incomplete type if_wpi.c:728: error: invalid application of `sizeof' to incomplete type `wpi_tx_cmd' if_wpi.c:729: error: invalid application of `sizeof' to incomplete type `wpi_tx_cmd' if_wpi.c:730: error: dereferencing pointer to incomplete type if_wpi.c:732: error: dereferencing pointer to incomplete type if_wpi.c:737: error: dereferencing pointer to incomplete type if_wpi.c:737: error: dereferencing pointer to incomplete type if_wpi.c:738: error: dereferencing pointer to incomplete type if_wpi.c:740: error: dereferencing pointer to incomplete type if_wpi.c:745: error: dereferencing pointer to incomplete type if_wpi.c:745: error: dereferencing pointer to incomplete type if_wpi.c:745: error: dereferencing pointer to incomplete type if_wpi.c:746: error: invalid application of `sizeof' to incomplete type `wpi_tx_cmd' if_wpi.c:747: error: dereferencing pointer to incomplete type if_wpi.c:749: error: dereferencing pointer to incomplete type if_wpi.c:754: error: dereferencing pointer to incomplete type if_wpi.c:754: error: invalid application of `sizeof' to incomplete type `wpi_tx_data' if_wpi.c:756: error: dereferencing pointer to incomplete type if_wpi.c:757: error: dereferencing pointer to incomplete type if_wpi.c:763: error: `WPI_MAX_SCATTER' undeclared (first use in this function) if_wpi.c:764: error: dereferencing pointer to incomplete type if_wpi.c:766: error: dereferencing pointer to incomplete type if_wpi.c:771: error: dereferencing pointer to incomplete type if_wpi.c:773: error: dereferencing pointer to incomplete type if_wpi.c:773: error: dereferencing pointer to incomplete type if_wpi.c:775: error: dereferencing pointer to incomplete type if_wpi.c:783: warning: passing arg 2 of `wpi_free_tx_ring' from incompatible pointer type if_wpi.c: At top level: if_wpi.c:788: warning: "struct wpi_tx_ring" declared inside parameter list if_wpi.c:789: error: conflicting types for 'wpi_reset_tx_ring' if_wpi.c:111: error: previous declaration of 'wpi_reset_tx_ring' was here if_wpi.c:789: error: conflicting types for 'wpi_reset_tx_ring' if_wpi.c:111: error: previous declaration of 'wpi_reset_tx_ring' was here if_wpi.c: In function `wpi_reset_tx_ring': if_wpi.c:795: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:795: warning: implicit declaration of function `WPI_TX_CONFIG' if_wpi.c:795: warning: nested extern declaration of `WPI_TX_CONFIG' if_wpi.c:795: error: dereferencing pointer to incomplete type if_wpi.c:797: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:797: error: `WPI_TX_STATUS' undeclared (first use in this function) if_wpi.c:797: warning: implicit declaration of function `WPI_TX_IDLE' if_wpi.c:797: warning: nested extern declaration of `WPI_TX_IDLE' if_wpi.c:797: error: dereferencing pointer to incomplete type if_wpi.c:803: error: dereferencing pointer to incomplete type if_wpi.c:804: error: dereferencing pointer to incomplete type if_wpi.c:809: error: dereferencing pointer to incomplete type if_wpi.c:810: error: dereferencing pointer to incomplete type if_wpi.c:812: error: dereferencing pointer to incomplete type if_wpi.c:813: error: dereferencing pointer to incomplete type if_wpi.c:813: error: dereferencing pointer to incomplete type if_wpi.c:813: error: dereferencing pointer to incomplete type if_wpi.c:815: error: dereferencing pointer to incomplete type if_wpi.c:815: error: dereferencing pointer to incomplete type if_wpi.c:815: error: dereferencing pointer to incomplete type if_wpi.c:816: error: dereferencing pointer to incomplete type if_wpi.c:817: error: dereferencing pointer to incomplete type if_wpi.c:820: error: dereferencing pointer to incomplete type if_wpi.c:821: error: dereferencing pointer to incomplete type if_wpi.c:822: error: dereferencing pointer to incomplete type if_wpi.c:826: error: dereferencing pointer to incomplete type if_wpi.c:827: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:831: warning: "struct wpi_tx_ring" declared inside parameter list if_wpi.c:832: error: conflicting types for 'wpi_free_tx_ring' if_wpi.c:112: error: previous declaration of 'wpi_free_tx_ring' was here if_wpi.c:832: error: conflicting types for 'wpi_free_tx_ring' if_wpi.c:112: error: previous declaration of 'wpi_free_tx_ring' was here if_wpi.c: In function `wpi_free_tx_ring': if_wpi.c:836: error: dereferencing pointer to incomplete type if_wpi.c:837: error: dereferencing pointer to incomplete type if_wpi.c:837: error: dereferencing pointer to incomplete type if_wpi.c:837: error: dereferencing pointer to incomplete type if_wpi.c:839: error: dereferencing pointer to incomplete type if_wpi.c:839: error: dereferencing pointer to incomplete type if_wpi.c:839: error: dereferencing pointer to incomplete type if_wpi.c:840: error: dereferencing pointer to incomplete type if_wpi.c:840: error: dereferencing pointer to incomplete type if_wpi.c:840: error: dereferencing pointer to incomplete type if_wpi.c:843: error: dereferencing pointer to incomplete type if_wpi.c:844: error: dereferencing pointer to incomplete type if_wpi.c:846: error: dereferencing pointer to incomplete type if_wpi.c:847: error: dereferencing pointer to incomplete type if_wpi.c:847: error: dereferencing pointer to incomplete type if_wpi.c:847: error: dereferencing pointer to incomplete type if_wpi.c:849: error: dereferencing pointer to incomplete type if_wpi.c:849: error: dereferencing pointer to incomplete type if_wpi.c:849: error: dereferencing pointer to incomplete type if_wpi.c:850: error: dereferencing pointer to incomplete type if_wpi.c:850: error: dereferencing pointer to incomplete type if_wpi.c:850: error: dereferencing pointer to incomplete type if_wpi.c:853: error: dereferencing pointer to incomplete type if_wpi.c:854: error: dereferencing pointer to incomplete type if_wpi.c:856: error: dereferencing pointer to incomplete type if_wpi.c:857: error: dereferencing pointer to incomplete type if_wpi.c:858: error: dereferencing pointer to incomplete type if_wpi.c:860: error: dereferencing pointer to incomplete type if_wpi.c:861: error: dereferencing pointer to incomplete type if_wpi.c:861: error: dereferencing pointer to incomplete type if_wpi.c:861: error: dereferencing pointer to incomplete type if_wpi.c:863: error: dereferencing pointer to incomplete type if_wpi.c:863: error: dereferencing pointer to incomplete type if_wpi.c:863: error: dereferencing pointer to incomplete type if_wpi.c:864: error: dereferencing pointer to incomplete type if_wpi.c:867: error: dereferencing pointer to incomplete type if_wpi.c:868: error: dereferencing pointer to incomplete type if_wpi.c:870: error: dereferencing pointer to incomplete type if_wpi.c:871: error: dereferencing pointer to incomplete type if_wpi.c:871: error: dereferencing pointer to incomplete type if_wpi.c:873: error: dereferencing pointer to incomplete type if_wpi.c:876: error: dereferencing pointer to incomplete type if_wpi.c:877: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_resume': if_wpi.c:904: error: dereferencing pointer to incomplete type if_wpi.c:906: error: dereferencing pointer to incomplete type if_wpi.c:916: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_node_alloc': if_wpi.c:927: error: invalid application of `sizeof' to incomplete type `wpi_amrr' if_wpi.c: In function `wpi_media_change': if_wpi.c:940: error: dereferencing pointer to incomplete type if_wpi.c:944: error: dereferencing pointer to incomplete type if_wpi.c:951: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_newstate': if_wpi.c:963: error: dereferencing pointer to incomplete type if_wpi.c:971: error: `WPI_LED_LINK' undeclared (first use in this function) if_wpi.c:974: error: dereferencing pointer to incomplete type if_wpi.c:984: error: dereferencing pointer to incomplete type if_wpi.c:1005: error: dereferencing pointer to incomplete type if_wpi.c:1005: error: `WPI_CONFIG_ASSOCIATED' undeclared (first use in this function) if_wpi.c:1007: error: dereferencing pointer to incomplete type if_wpi.c:1007: error: `WPI_CONFIG_SHPREAMBLE' undeclared (first use in this function) if_wpi.c:1007: error: `WPI_CONFIG_SHSLOT' undeclared (first use in this function) if_wpi.c:1010: error: dereferencing pointer to incomplete type if_wpi.c:1012: error: dereferencing pointer to incomplete type if_wpi.c:1013: error: dereferencing pointer to incomplete type if_wpi.c:1013: error: `WPI_FILTER_BSSID' undeclared (first use in this function) if_wpi.c:1015: error: dereferencing pointer to incomplete type if_wpi.c:1015: error: `WPI_FILTER_BEACON' undeclared (first use in this function) if_wpi.c:1019: error: dereferencing pointer to incomplete type if_wpi.c:1019: error: dereferencing pointer to incomplete type if_wpi.c:1021: error: `WPI_CMD_CONFIGURE' undeclared (first use in this function) if_wpi.c:1021: error: dereferencing pointer to incomplete type if_wpi.c:1022: error: invalid application of `sizeof' to incomplete type `wpi_config' if_wpi.c:1024: error: dereferencing pointer to incomplete type if_wpi.c:1031: error: dereferencing pointer to incomplete type if_wpi.c:1044: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_mem_lock': if_wpi.c:1056: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:1056: error: `WPI_GPIO_CTL' undeclared (first use in this function) if_wpi.c:1057: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1057: error: `WPI_GPIO_MAC' undeclared (first use in this function) if_wpi.c:1062: error: `WPI_GPIO_CLOCK' undeclared (first use in this function) if_wpi.c:1062: error: `WPI_GPIO_SLEEP' undeclared (first use in this function) if_wpi.c:1067: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_mem_unlock': if_wpi.c:1076: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:1076: error: `WPI_GPIO_CTL' undeclared (first use in this function) if_wpi.c:1077: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1077: error: `WPI_GPIO_MAC' undeclared (first use in this function) if_wpi.c: In function `wpi_mem_read': if_wpi.c:1083: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1083: error: `WPI_READ_MEM_ADDR' undeclared (first use in this function) if_wpi.c:1083: error: `WPI_MEM_4' undeclared (first use in this function) if_wpi.c:1084: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:1084: error: `WPI_READ_MEM_DATA' undeclared (first use in this function) if_wpi.c: In function `wpi_mem_write': if_wpi.c:1090: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1090: error: `WPI_WRITE_MEM_ADDR' undeclared (first use in this function) if_wpi.c:1090: error: `WPI_MEM_4' undeclared (first use in this function) if_wpi.c:1091: error: `WPI_WRITE_MEM_DATA' undeclared (first use in this function) if_wpi.c: In function `wpi_read_prom_word': if_wpi.c:1112: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1112: error: `WPI_EEPROM_CTL' undeclared (first use in this function) if_wpi.c:1116: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:1116: error: `WPI_EEPROM_READY' undeclared (first use in this function) if_wpi.c:1123: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_load_microcode': if_wpi.c:1145: error: `WPI_MEM_UCODE_BASE' undeclared (first use in this function) if_wpi.c:1148: error: `WPI_MEM_UCODE_SRC' undeclared (first use in this function) if_wpi.c:1149: error: `WPI_MEM_UCODE_DST' undeclared (first use in this function) if_wpi.c:1149: error: `WPI_FW_TEXT' undeclared (first use in this function) if_wpi.c:1150: error: `WPI_MEM_UCODE_SIZE' undeclared (first use in this function) if_wpi.c:1153: error: `WPI_MEM_UCODE_CTL' undeclared (first use in this function) if_wpi.c:1153: error: `WPI_UC_RUN' undeclared (first use in this function) if_wpi.c: In function `wpi_load_firmware': if_wpi.c:1173: error: storage size of 'desc' isn't known if_wpi.c:1174: error: storage size of 'pmap' isn't known if_wpi.c:1178: error: dereferencing pointer to incomplete type if_wpi.c:1184: error: `WPI_MAX_SCATTER' undeclared (first use in this function) if_wpi.c:1185: error: `WPI_MAX_SEG_LEN' undeclared (first use in this function) if_wpi.c:1187: error: dereferencing pointer to incomplete type if_wpi.c:1195: error: dereferencing pointer to incomplete type if_wpi.c:1203: error: dereferencing pointer to incomplete type if_wpi.c:1214: warning: implicit declaration of function `WPI_PAD32' if_wpi.c:1214: warning: nested extern declaration of `WPI_PAD32' if_wpi.c:1223: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1223: error: `WPI_FW_TARGET' undeclared (first use in this function) if_wpi.c:1225: warning: nested extern declaration of `WPI_TX_CONFIG' if_wpi.c:795: warning: redundant redeclaration of 'WPI_TX_CONFIG' if_wpi.c:795: warning: previous implicit declaration of 'WPI_TX_CONFIG' was here if_wpi.c:1228: warning: implicit declaration of function `WPI_WRITE_REGION_4' if_wpi.c:1228: warning: nested extern declaration of `WPI_WRITE_REGION_4' if_wpi.c:1228: warning: implicit declaration of function `WPI_TX_DESC' if_wpi.c:1228: warning: nested extern declaration of `WPI_TX_DESC' if_wpi.c:1231: warning: implicit declaration of function `WPI_TX_CREDIT' if_wpi.c:1231: warning: nested extern declaration of `WPI_TX_CREDIT' if_wpi.c:1232: warning: implicit declaration of function `WPI_TX_STATE' if_wpi.c:1232: warning: nested extern declaration of `WPI_TX_STATE' if_wpi.c:1237: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:1237: error: `WPI_TX_STATUS' undeclared (first use in this function) if_wpi.c:1237: warning: nested extern declaration of `WPI_TX_IDLE' if_wpi.c:797: warning: redundant redeclaration of 'WPI_TX_IDLE' if_wpi.c:797: warning: previous implicit declaration of 'WPI_TX_IDLE' was here if_wpi.c:1242: error: dereferencing pointer to incomplete type if_wpi.c:1254: error: dereferencing pointer to incomplete type if_wpi.c:1173: warning: unused variable `desc' if_wpi.c:1174: warning: unused variable `pmap' if_wpi.c: At top level: if_wpi.c:1260: warning: "struct wpi_rx_data" declared inside parameter list if_wpi.c:1260: warning: "struct wpi_rx_desc" declared inside parameter list if_wpi.c:1261: error: conflicting types for 'wpi_rx_intr' if_wpi.c:127: error: previous declaration of 'wpi_rx_intr' was here if_wpi.c:1261: error: conflicting types for 'wpi_rx_intr' if_wpi.c:127: error: previous declaration of 'wpi_rx_intr' was here if_wpi.c: In function `wpi_rx_intr': if_wpi.c:1262: error: dereferencing pointer to incomplete type if_wpi.c:1264: error: dereferencing pointer to incomplete type if_wpi.c:1274: error: invalid use of undefined type `struct wpi_rx_desc' if_wpi.c:1276: error: dereferencing pointer to incomplete type if_wpi.c:1276: error: `WPI_STAT_MAXLEN' undeclared (first use in this function) if_wpi.c:1277: error: dereferencing pointer to incomplete type if_wpi.c:1282: error: invalid use of undefined type `struct wpi_rx_stat' if_wpi.c:1282: error: dereferencing pointer to incomplete type if_wpi.c:1283: error: invalid use of undefined type `struct wpi_rx_head' if_wpi.c:1283: error: dereferencing pointer to incomplete type if_wpi.c:1285: error: dereferencing pointer to incomplete type if_wpi.c:1285: error: dereferencing pointer to incomplete type if_wpi.c:1285: error: dereferencing pointer to incomplete type if_wpi.c:1285: error: dereferencing pointer to incomplete type if_wpi.c:1285: error: dereferencing pointer to incomplete type if_wpi.c:1285: error: dereferencing pointer to incomplete type if_wpi.c:1285: error: dereferencing pointer to incomplete type if_wpi.c:1294: error: dereferencing pointer to incomplete type if_wpi.c:1294: error: `WPI_RX_NOERROR' undeclared (first use in this function) if_wpi.c:1295: error: dereferencing pointer to incomplete type if_wpi.c:1306: error: dereferencing pointer to incomplete type if_wpi.c:1306: error: dereferencing pointer to incomplete type if_wpi.c:1306: error: dereferencing pointer to incomplete type if_wpi.c:1308: error: dereferencing pointer to incomplete type if_wpi.c:1308: error: dereferencing pointer to incomplete type if_wpi.c:1314: error: dereferencing pointer to incomplete type if_wpi.c:1314: error: dereferencing pointer to incomplete type if_wpi.c:1315: error: dereferencing pointer to incomplete type if_wpi.c:1320: error: dereferencing pointer to incomplete type if_wpi.c:1326: error: dereferencing pointer to incomplete type if_wpi.c:1327: error: dereferencing pointer to incomplete type if_wpi.c:1330: error: dereferencing pointer to incomplete type if_wpi.c:1330: error: dereferencing pointer to incomplete type if_wpi.c:1334: error: invalid use of undefined type `struct wpi_rx_head' if_wpi.c:1335: error: dereferencing pointer to incomplete type if_wpi.c:1338: error: dereferencing pointer to incomplete type if_wpi.c:1342: error: dereferencing pointer to incomplete type if_wpi.c:1344: error: dereferencing pointer to incomplete type if_wpi.c:1345: error: dereferencing pointer to incomplete type if_wpi.c:1345: error: dereferencing pointer to incomplete type if_wpi.c:1346: error: dereferencing pointer to incomplete type if_wpi.c:1347: error: dereferencing pointer to incomplete type if_wpi.c:1348: error: dereferencing pointer to incomplete type if_wpi.c:1349: error: dereferencing pointer to incomplete type if_wpi.c:1350: error: dereferencing pointer to incomplete type if_wpi.c:1350: error: dereferencing pointer to incomplete type if_wpi.c:1350: error: `WPI_RSSI_OFFSET' undeclared (first use in this function) if_wpi.c:1351: error: dereferencing pointer to incomplete type if_wpi.c:1351: error: dereferencing pointer to incomplete type if_wpi.c:1352: error: dereferencing pointer to incomplete type if_wpi.c:1352: error: dereferencing pointer to incomplete type if_wpi.c:1353: error: dereferencing pointer to incomplete type if_wpi.c:1353: error: dereferencing pointer to incomplete type if_wpi.c:1354: error: dereferencing pointer to incomplete type if_wpi.c:1356: error: dereferencing pointer to incomplete type if_wpi.c:1357: error: dereferencing pointer to incomplete type if_wpi.c:1358: error: dereferencing pointer to incomplete type if_wpi.c:1359: error: dereferencing pointer to incomplete type if_wpi.c:1361: error: dereferencing pointer to incomplete type if_wpi.c:1362: error: dereferencing pointer to incomplete type if_wpi.c:1363: error: dereferencing pointer to incomplete type if_wpi.c:1364: error: dereferencing pointer to incomplete type if_wpi.c:1365: error: dereferencing pointer to incomplete type if_wpi.c:1366: error: dereferencing pointer to incomplete type if_wpi.c:1367: error: dereferencing pointer to incomplete type if_wpi.c:1368: error: dereferencing pointer to incomplete type if_wpi.c:1370: error: dereferencing pointer to incomplete type if_wpi.c:1372: error: dereferencing pointer to incomplete type if_wpi.c:1373: error: dereferencing pointer to incomplete type if_wpi.c:1375: error: dereferencing pointer to incomplete type if_wpi.c:1375: error: dereferencing pointer to incomplete type if_wpi.c:1383: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:1391: warning: "struct wpi_rx_data" declared inside parameter list if_wpi.c:1391: warning: "struct wpi_rx_desc" declared inside parameter list if_wpi.c:1392: error: conflicting types for 'wpi_tx_intr' if_wpi.c:129: error: previous declaration of 'wpi_tx_intr' was here if_wpi.c:1392: error: conflicting types for 'wpi_tx_intr' if_wpi.c:129: error: previous declaration of 'wpi_tx_intr' was here if_wpi.c: In function `wpi_tx_intr': if_wpi.c:1393: error: dereferencing pointer to incomplete type if_wpi.c:1394: error: dereferencing pointer to incomplete type if_wpi.c:1394: error: dereferencing pointer to incomplete type if_wpi.c:1395: error: dereferencing pointer to incomplete type if_wpi.c:1395: error: dereferencing pointer to incomplete type if_wpi.c:1396: error: invalid use of undefined type `struct wpi_rx_desc' if_wpi.c:1397: error: dereferencing pointer to incomplete type if_wpi.c:1399: error: dereferencing pointer to incomplete type if_wpi.c:1399: error: dereferencing pointer to incomplete type if_wpi.c:1399: error: dereferencing pointer to incomplete type if_wpi.c:1399: error: dereferencing pointer to incomplete type if_wpi.c:1399: error: dereferencing pointer to incomplete type if_wpi.c:1399: error: dereferencing pointer to incomplete type if_wpi.c:1399: error: dereferencing pointer to incomplete type if_wpi.c:1404: error: dereferencing pointer to incomplete type if_wpi.c:1404: error: dereferencing pointer to incomplete type if_wpi.c:1404: error: dereferencing pointer to incomplete type if_wpi.c:1405: error: dereferencing pointer to incomplete type if_wpi.c:1405: error: dereferencing pointer to incomplete type if_wpi.c:1405: error: dereferencing pointer to incomplete type if_wpi.c:1407: error: dereferencing pointer to incomplete type if_wpi.c:1408: error: dereferencing pointer to incomplete type if_wpi.c:1409: error: dereferencing pointer to incomplete type if_wpi.c:1410: error: dereferencing pointer to incomplete type if_wpi.c:1413: error: dereferencing pointer to incomplete type if_wpi.c:1414: error: dereferencing pointer to incomplete type if_wpi.c:1415: error: dereferencing pointer to incomplete type if_wpi.c:1416: error: dereferencing pointer to incomplete type if_wpi.c:1418: error: dereferencing pointer to incomplete type if_wpi.c:1422: error: dereferencing pointer to incomplete type if_wpi.c:1424: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:1430: warning: "struct wpi_rx_desc" declared inside parameter list if_wpi.c:1431: error: conflicting types for 'wpi_cmd_intr' if_wpi.c:130: error: previous declaration of 'wpi_cmd_intr' was here if_wpi.c:1431: error: conflicting types for 'wpi_cmd_intr' if_wpi.c:130: error: previous declaration of 'wpi_cmd_intr' was here if_wpi.c: In function `wpi_cmd_intr': if_wpi.c:1432: error: dereferencing pointer to incomplete type if_wpi.c:1435: error: dereferencing pointer to incomplete type if_wpi.c:1438: error: dereferencing pointer to incomplete type if_wpi.c:1438: error: dereferencing pointer to incomplete type if_wpi.c:1441: error: dereferencing pointer to incomplete type if_wpi.c:1442: error: dereferencing pointer to incomplete type if_wpi.c:1442: error: dereferencing pointer to incomplete type if_wpi.c:1442: error: dereferencing pointer to incomplete type if_wpi.c:1443: error: dereferencing pointer to incomplete type if_wpi.c:1444: error: dereferencing pointer to incomplete type if_wpi.c:1447: error: dereferencing pointer to incomplete type if_wpi.c:1447: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_notif_intr': if_wpi.c:1453: error: dereferencing pointer to incomplete type if_wpi.c:1458: error: dereferencing pointer to incomplete type if_wpi.c:1459: error: dereferencing pointer to incomplete type if_wpi.c:1460: error: dereferencing pointer to incomplete type if_wpi.c:1460: error: dereferencing pointer to incomplete type if_wpi.c:1462: error: dereferencing pointer to incomplete type if_wpi.c:1464: error: dereferencing pointer to incomplete type if_wpi.c:1464: error: dereferencing pointer to incomplete type if_wpi.c:1464: error: dereferencing pointer to incomplete type if_wpi.c:1464: error: dereferencing pointer to incomplete type if_wpi.c:1464: error: dereferencing pointer to incomplete type if_wpi.c:1468: error: dereferencing pointer to incomplete type if_wpi.c:1469: warning: passing arg 2 of `wpi_cmd_intr' from incompatible pointer type if_wpi.c:1471: error: dereferencing pointer to incomplete type if_wpi.c:1472: error: `WPI_RX_DONE' undeclared (first use in this function) if_wpi.c:1474: warning: passing arg 2 of `wpi_rx_intr' from incompatible pointer type if_wpi.c:1474: warning: passing arg 3 of `wpi_rx_intr' from incompatible pointer type if_wpi.c:1477: error: `WPI_TX_DONE' undeclared (first use in this function) if_wpi.c:1479: warning: passing arg 2 of `wpi_tx_intr' from incompatible pointer type if_wpi.c:1479: warning: passing arg 3 of `wpi_tx_intr' from incompatible pointer type if_wpi.c:1482: error: `WPI_UC_READY' undeclared (first use in this function) if_wpi.c:1485: error: invalid use of undefined type `struct wpi_rx_desc' if_wpi.c:1488: error: dereferencing pointer to incomplete type if_wpi.c:1488: error: dereferencing pointer to incomplete type if_wpi.c:1492: error: dereferencing pointer to incomplete type if_wpi.c:1493: error: dereferencing pointer to incomplete type if_wpi.c:1498: error: `WPI_STATE_CHANGED' undeclared (first use in this function) if_wpi.c:1500: error: invalid use of undefined type `struct wpi_rx_desc' if_wpi.c:1507: error: dereferencing pointer to incomplete type if_wpi.c:1512: error: `WPI_START_SCAN' undeclared (first use in this function) if_wpi.c:1515: error: invalid use of undefined type `struct wpi_rx_desc' if_wpi.c:1517: error: dereferencing pointer to incomplete type if_wpi.c:1517: error: dereferencing pointer to incomplete type if_wpi.c:1521: error: dereferencing pointer to incomplete type if_wpi.c:1524: error: `WPI_STOP_SCAN' undeclared (first use in this function) if_wpi.c:1530: error: dereferencing pointer to incomplete type if_wpi.c:1530: error: dereferencing pointer to incomplete type if_wpi.c:1530: error: `WPI_RX_RING_COUNT' undeclared (first use in this function) if_wpi.c:1535: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1535: error: `WPI_RX_WIDX' undeclared (first use in this function) if_wpi.c: In function `wpi_intr': if_wpi.c:1544: error: dereferencing pointer to incomplete type if_wpi.c:1546: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:1546: error: `WPI_INTR' undeclared (first use in this function) if_wpi.c:1548: error: dereferencing pointer to incomplete type if_wpi.c:1555: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1555: error: `WPI_MASK' undeclared (first use in this function) if_wpi.c:1559: error: `WPI_SW_ERROR' undeclared (first use in this function) if_wpi.c:1559: error: `WPI_HW_ERROR' undeclared (first use in this function) if_wpi.c:1560: error: dereferencing pointer to incomplete type if_wpi.c:1561: error: dereferencing pointer to incomplete type if_wpi.c:1563: error: dereferencing pointer to incomplete type if_wpi.c:1567: error: `WPI_RX_INTR' undeclared (first use in this function) if_wpi.c:1570: error: `WPI_ALIVE_INTR' undeclared (first use in this function) if_wpi.c:1574: error: `WPI_INTR_MASK' undeclared (first use in this function) if_wpi.c:1576: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_tx_data': if_wpi.c:1609: error: dereferencing pointer to incomplete type if_wpi.c:1610: error: dereferencing pointer to incomplete type if_wpi.c:1619: error: `WPI_MAX_SCATTER' undeclared (first use in this function) if_wpi.c:1622: error: dereferencing pointer to incomplete type if_wpi.c:1622: error: dereferencing pointer to incomplete type if_wpi.c:1623: error: dereferencing pointer to incomplete type if_wpi.c:1623: error: dereferencing pointer to incomplete type if_wpi.c:1659: error: dereferencing pointer to incomplete type if_wpi.c:1663: error: dereferencing pointer to incomplete type if_wpi.c:1665: error: dereferencing pointer to incomplete type if_wpi.c:1666: error: dereferencing pointer to incomplete type if_wpi.c:1667: error: dereferencing pointer to incomplete type if_wpi.c:1668: error: dereferencing pointer to incomplete type if_wpi.c:1670: error: dereferencing pointer to incomplete type if_wpi.c:1672: error: dereferencing pointer to incomplete type if_wpi.c:1672: error: dereferencing pointer to incomplete type if_wpi.c:1675: error: dereferencing pointer to incomplete type if_wpi.c:1675: error: dereferencing pointer to incomplete type if_wpi.c:1676: error: dereferencing pointer to incomplete type if_wpi.c:1676: error: `WPI_CMD_TX_DATA' undeclared (first use in this function) if_wpi.c:1677: error: dereferencing pointer to incomplete type if_wpi.c:1678: error: dereferencing pointer to incomplete type if_wpi.c:1678: error: dereferencing pointer to incomplete type if_wpi.c:1679: error: dereferencing pointer to incomplete type if_wpi.c:1679: error: dereferencing pointer to incomplete type if_wpi.c:1681: error: dereferencing pointer to incomplete type if_wpi.c:1682: error: dereferencing pointer to incomplete type if_wpi.c:1685: error: dereferencing pointer to incomplete type if_wpi.c:1685: error: `WPI_TX_NEED_ACK' undeclared (first use in this function) if_wpi.c:1687: error: dereferencing pointer to incomplete type if_wpi.c:1687: error: `WPI_TX_NEED_RTS' undeclared (first use in this function) if_wpi.c:1687: error: `WPI_TX_FULL_TXOP' undeclared (first use in this function) if_wpi.c:1689: error: dereferencing pointer to incomplete type if_wpi.c:1689: error: `WPI_TX_AUTO_SEQ' undeclared (first use in this function) if_wpi.c:1692: error: dereferencing pointer to incomplete type if_wpi.c:1692: error: `WPI_ID_BROADCAST' undeclared (first use in this function) if_wpi.c:1693: error: `WPI_ID_BSS' undeclared (first use in this function) if_wpi.c:1700: error: dereferencing pointer to incomplete type if_wpi.c:1700: error: `WPI_TX_INSERT_TSTAMP' undeclared (first use in this function) if_wpi.c:1706: error: dereferencing pointer to incomplete type if_wpi.c:1708: error: dereferencing pointer to incomplete type if_wpi.c:1710: error: dereferencing pointer to incomplete type if_wpi.c:1712: error: dereferencing pointer to incomplete type if_wpi.c:1715: error: dereferencing pointer to incomplete type if_wpi.c:1716: error: dereferencing pointer to incomplete type if_wpi.c:1718: error: dereferencing pointer to incomplete type if_wpi.c:1719: error: dereferencing pointer to incomplete type if_wpi.c:1720: error: dereferencing pointer to incomplete type if_wpi.c:1722: error: dereferencing pointer to incomplete type if_wpi.c:1725: error: invalid use of undefined type `struct wpi_cmd_data' if_wpi.c:1728: error: dereferencing pointer to incomplete type if_wpi.c:1728: error: dereferencing pointer to incomplete type if_wpi.c:1731: error: dereferencing pointer to incomplete type if_wpi.c:1739: error: dereferencing pointer to incomplete type if_wpi.c:1746: error: dereferencing pointer to incomplete type if_wpi.c:1746: error: dereferencing pointer to incomplete type if_wpi.c:1749: error: dereferencing pointer to incomplete type if_wpi.c:1756: error: dereferencing pointer to incomplete type if_wpi.c:1757: error: dereferencing pointer to incomplete type if_wpi.c:1759: error: dereferencing pointer to incomplete type if_wpi.c:1759: error: dereferencing pointer to incomplete type if_wpi.c:1763: error: dereferencing pointer to incomplete type if_wpi.c:1763: warning: nested extern declaration of `WPI_PAD32' if_wpi.c:1214: warning: redundant redeclaration of 'WPI_PAD32' if_wpi.c:1214: warning: previous implicit declaration of 'WPI_PAD32' was here if_wpi.c:1765: error: dereferencing pointer to incomplete type if_wpi.c:1765: error: dereferencing pointer to incomplete type if_wpi.c:1765: error: dereferencing pointer to incomplete type if_wpi.c:1765: error: invalid application of `sizeof' to incomplete type `wpi_tx_cmd' if_wpi.c:1767: error: dereferencing pointer to incomplete type if_wpi.c:1767: error: invalid application of `sizeof' to incomplete type `wpi_cmd_data' if_wpi.c:1770: error: dereferencing pointer to incomplete type if_wpi.c:1771: error: dereferencing pointer to incomplete type if_wpi.c:1774: error: dereferencing pointer to incomplete type if_wpi.c:1774: error: dereferencing pointer to incomplete type if_wpi.c:1774: error: dereferencing pointer to incomplete type if_wpi.c:1775: error: dereferencing pointer to incomplete type if_wpi.c:1775: error: dereferencing pointer to incomplete type if_wpi.c:1775: error: dereferencing pointer to incomplete type if_wpi.c:1777: error: dereferencing pointer to incomplete type if_wpi.c:1780: error: dereferencing pointer to incomplete type if_wpi.c:1780: error: dereferencing pointer to incomplete type if_wpi.c:1780: error: `WPI_TX_RING_COUNT' undeclared (first use in this function) if_wpi.c:1781: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:1781: error: `WPI_TX_WIDX' undeclared (first use in this function) if_wpi.c:1781: error: dereferencing pointer to incomplete type if_wpi.c:1781: error: dereferencing pointer to incomplete type if_wpi.c:1619: warning: unused variable `segs' if_wpi.c: In function `wpi_start': if_wpi.c:1790: error: dereferencing pointer to incomplete type if_wpi.c:1796: error: dereferencing pointer to incomplete type if_wpi.c:1807: error: dereferencing pointer to incomplete type if_wpi.c:1807: error: dereferencing pointer to incomplete type if_wpi.c:1848: error: dereferencing pointer to incomplete type if_wpi.c:1848: error: dereferencing pointer to incomplete type if_wpi.c:1878: error: dereferencing pointer to incomplete type if_wpi.c:1882: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_watchdog': if_wpi.c:1889: error: dereferencing pointer to incomplete type if_wpi.c:1891: error: dereferencing pointer to incomplete type if_wpi.c:1895: error: dereferencing pointer to incomplete type if_wpi.c:1896: error: dereferencing pointer to incomplete type if_wpi.c:1899: error: dereferencing pointer to incomplete type if_wpi.c:1907: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_ioctl': if_wpi.c:1914: error: dereferencing pointer to incomplete type if_wpi.c:1917: error: dereferencing pointer to incomplete type if_wpi.c:1942: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_read_eeprom': if_wpi.c:1953: error: dereferencing pointer to incomplete type if_wpi.c:1958: error: `WPI_EEPROM_MAC' undeclared (first use in this function) if_wpi.c:1970: error: dereferencing pointer to incomplete type if_wpi.c:1970: error: `WPI_EEPROM_PWR1' undeclared (first use in this function) if_wpi.c:1971: error: dereferencing pointer to incomplete type if_wpi.c:1971: error: `WPI_EEPROM_PWR2' undeclared (first use in this function) if_wpi.c:1972: error: dereferencing pointer to incomplete type if_wpi.c:1972: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_cmd': if_wpi.c:1983: error: dereferencing pointer to incomplete type if_wpi.c:1990: error: dereferencing pointer to incomplete type if_wpi.c:1990: error: dereferencing pointer to incomplete type if_wpi.c:1991: error: dereferencing pointer to incomplete type if_wpi.c:1991: error: dereferencing pointer to incomplete type if_wpi.c:1993: error: dereferencing pointer to incomplete type if_wpi.c:1994: error: dereferencing pointer to incomplete type if_wpi.c:1995: error: dereferencing pointer to incomplete type if_wpi.c:1995: error: dereferencing pointer to incomplete type if_wpi.c:1996: error: dereferencing pointer to incomplete type if_wpi.c:1996: error: dereferencing pointer to incomplete type if_wpi.c:1997: error: dereferencing pointer to incomplete type if_wpi.c:1999: error: dereferencing pointer to incomplete type if_wpi.c:1999: warning: nested extern declaration of `WPI_PAD32' if_wpi.c:1214: warning: redundant redeclaration of 'WPI_PAD32' if_wpi.c:1214: warning: previous implicit declaration of 'WPI_PAD32' was here if_wpi.c:2000: error: dereferencing pointer to incomplete type if_wpi.c:2000: error: dereferencing pointer to incomplete type if_wpi.c:2000: error: dereferencing pointer to incomplete type if_wpi.c:2000: error: invalid application of `sizeof' to incomplete type `wpi_tx_cmd' if_wpi.c:2002: error: dereferencing pointer to incomplete type if_wpi.c:2005: error: dereferencing pointer to incomplete type if_wpi.c:2005: error: dereferencing pointer to incomplete type if_wpi.c:2005: error: `WPI_CMD_RING_COUNT' undeclared (first use in this function) if_wpi.c:2006: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:2006: error: `WPI_TX_WIDX' undeclared (first use in this function) if_wpi.c:2006: error: dereferencing pointer to incomplete type if_wpi.c:2006: error: dereferencing pointer to incomplete type if_wpi.c:2008: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_wme_update': if_wpi.c:2018: error: storage size of 'wme' isn't known if_wpi.c:2038: error: `WPI_CMD_SET_WME' undeclared (first use in this function) if_wpi.c:2018: warning: unused variable `wme' if_wpi.c: In function `wpi_mrr_setup': if_wpi.c:2049: error: storage size of 'mrr' isn't known if_wpi.c:2053: error: `WPI_CCK1' undeclared (first use in this function) if_wpi.c:2053: error: `WPI_CCK11' undeclared (first use in this function) if_wpi.c:2063: error: `WPI_OFDM6' undeclared (first use in this function) if_wpi.c:2063: error: `WPI_OFDM54' undeclared (first use in this function) if_wpi.c:2073: error: `WPI_MRR_CTL' undeclared (first use in this function) if_wpi.c:2074: error: `WPI_CMD_MRR_SETUP' undeclared (first use in this function) if_wpi.c:2076: error: dereferencing pointer to incomplete type if_wpi.c:2082: error: `WPI_MRR_DATA' undeclared (first use in this function) if_wpi.c:2085: error: dereferencing pointer to incomplete type if_wpi.c:2049: warning: unused variable `mrr' if_wpi.c: In function `wpi_set_led': if_wpi.c:2096: error: storage size of 'led' isn't known if_wpi.c:2103: error: `WPI_CMD_SET_LED' undeclared (first use in this function) if_wpi.c:2096: warning: unused variable `led' if_wpi.c: In function `wpi_enable_tsf': if_wpi.c:2109: error: storage size of 'tsf' isn't known if_wpi.c:2122: error: `WPI_CMD_TSF' undeclared (first use in this function) if_wpi.c:2123: error: dereferencing pointer to incomplete type if_wpi.c:2109: warning: unused variable `tsf' if_wpi.c: In function `wpi_setup_beacon': if_wpi.c:2133: error: dereferencing pointer to incomplete type if_wpi.c:2134: error: dereferencing pointer to incomplete type if_wpi.c:2144: error: dereferencing pointer to incomplete type if_wpi.c:2144: error: dereferencing pointer to incomplete type if_wpi.c:2145: error: dereferencing pointer to incomplete type if_wpi.c:2145: error: dereferencing pointer to incomplete type if_wpi.c:2149: error: dereferencing pointer to incomplete type if_wpi.c:2153: error: dereferencing pointer to incomplete type if_wpi.c:2153: error: dereferencing pointer to incomplete type if_wpi.c:2154: error: dereferencing pointer to incomplete type if_wpi.c:2154: error: `WPI_CMD_SET_BEACON' undeclared (first use in this function) if_wpi.c:2155: error: dereferencing pointer to incomplete type if_wpi.c:2156: error: dereferencing pointer to incomplete type if_wpi.c:2156: error: dereferencing pointer to incomplete type if_wpi.c:2157: error: dereferencing pointer to incomplete type if_wpi.c:2157: error: dereferencing pointer to incomplete type if_wpi.c:2159: error: dereferencing pointer to incomplete type if_wpi.c:2160: error: invalid application of `sizeof' to incomplete type `wpi_cmd_beacon' if_wpi.c:2161: error: dereferencing pointer to incomplete type if_wpi.c:2161: error: `WPI_ID_BROADCAST' undeclared (first use in this function) if_wpi.c:2162: error: dereferencing pointer to incomplete type if_wpi.c:2163: error: dereferencing pointer to incomplete type if_wpi.c:2164: error: dereferencing pointer to incomplete type if_wpi.c:2165: error: dereferencing pointer to incomplete type if_wpi.c:2166: error: dereferencing pointer to incomplete type if_wpi.c:2167: error: dereferencing pointer to incomplete type if_wpi.c:2167: error: `WPI_TX_AUTO_SEQ' undeclared (first use in this function) if_wpi.c:2167: error: `WPI_TX_INSERT_TSTAMP' undeclared (first use in this function) if_wpi.c:2170: error: dereferencing pointer to incomplete type if_wpi.c:2174: error: dereferencing pointer to incomplete type if_wpi.c:2174: error: dereferencing pointer to incomplete type if_wpi.c:2177: error: dereferencing pointer to incomplete type if_wpi.c:2182: error: dereferencing pointer to incomplete type if_wpi.c:2185: error: dereferencing pointer to incomplete type if_wpi.c:2185: warning: nested extern declaration of `WPI_PAD32' if_wpi.c:1214: warning: redundant redeclaration of 'WPI_PAD32' if_wpi.c:1214: warning: previous implicit declaration of 'WPI_PAD32' was here if_wpi.c:2186: error: dereferencing pointer to incomplete type if_wpi.c:2186: error: dereferencing pointer to incomplete type if_wpi.c:2186: error: dereferencing pointer to incomplete type if_wpi.c:2186: error: invalid application of `sizeof' to incomplete type `wpi_tx_cmd' if_wpi.c:2188: error: dereferencing pointer to incomplete type if_wpi.c:2188: error: invalid application of `sizeof' to incomplete type `wpi_cmd_beacon' if_wpi.c:2189: error: dereferencing pointer to incomplete type if_wpi.c:2190: error: dereferencing pointer to incomplete type if_wpi.c:2193: error: dereferencing pointer to incomplete type if_wpi.c:2193: error: dereferencing pointer to incomplete type if_wpi.c:2193: error: `WPI_CMD_RING_COUNT' undeclared (first use in this function) if_wpi.c:2194: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:2194: error: `WPI_TX_WIDX' undeclared (first use in this function) if_wpi.c:2194: error: dereferencing pointer to incomplete type if_wpi.c:2194: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_auth': if_wpi.c:2202: error: dereferencing pointer to incomplete type if_wpi.c:2204: error: storage size of 'node' isn't known if_wpi.c:2208: error: dereferencing pointer to incomplete type if_wpi.c:2209: error: dereferencing pointer to incomplete type if_wpi.c:2211: error: dereferencing pointer to incomplete type if_wpi.c:2212: error: dereferencing pointer to incomplete type if_wpi.c:2214: error: dereferencing pointer to incomplete type if_wpi.c:2215: error: dereferencing pointer to incomplete type if_wpi.c:2217: error: dereferencing pointer to incomplete type if_wpi.c:2218: error: dereferencing pointer to incomplete type if_wpi.c:2221: error: dereferencing pointer to incomplete type if_wpi.c:2221: error: dereferencing pointer to incomplete type if_wpi.c:2221: error: dereferencing pointer to incomplete type if_wpi.c:2221: error: dereferencing pointer to incomplete type if_wpi.c:2223: error: `WPI_CMD_CONFIGURE' undeclared (first use in this function) if_wpi.c:2223: error: dereferencing pointer to incomplete type if_wpi.c:2224: error: invalid application of `sizeof' to incomplete type `wpi_config' if_wpi.c:2226: error: dereferencing pointer to incomplete type if_wpi.c:2233: error: `WPI_ID_BSS' undeclared (first use in this function) if_wpi.c:2235: error: `WPI_CMD_ADD_NODE' undeclared (first use in this function) if_wpi.c:2237: error: dereferencing pointer to incomplete type if_wpi.c:2243: error: dereferencing pointer to incomplete type if_wpi.c:2204: warning: unused variable `node' if_wpi.c: In function `wpi_scan': if_wpi.c:2257: error: dereferencing pointer to incomplete type if_wpi.c:2259: error: dereferencing pointer to incomplete type if_wpi.c:2273: error: dereferencing pointer to incomplete type if_wpi.c:2273: error: dereferencing pointer to incomplete type if_wpi.c:2274: error: dereferencing pointer to incomplete type if_wpi.c:2274: error: dereferencing pointer to incomplete type if_wpi.c:2276: error: dereferencing pointer to incomplete type if_wpi.c:2277: error: dereferencing pointer to incomplete type if_wpi.c:2278: error: dereferencing pointer to incomplete type if_wpi.c:2283: error: dereferencing pointer to incomplete type if_wpi.c:2284: error: dereferencing pointer to incomplete type if_wpi.c:2284: error: `WPI_CMD_SCAN' undeclared (first use in this function) if_wpi.c:2285: error: dereferencing pointer to incomplete type if_wpi.c:2286: error: dereferencing pointer to incomplete type if_wpi.c:2286: error: dereferencing pointer to incomplete type if_wpi.c:2287: error: dereferencing pointer to incomplete type if_wpi.c:2287: error: dereferencing pointer to incomplete type if_wpi.c:2289: error: dereferencing pointer to incomplete type if_wpi.c:2290: error: invalid application of `sizeof' to incomplete type `wpi_scan_hdr' if_wpi.c:2291: error: dereferencing pointer to incomplete type if_wpi.c:2292: error: dereferencing pointer to incomplete type if_wpi.c:2293: error: dereferencing pointer to incomplete type if_wpi.c:2293: error: dereferencing pointer to incomplete type if_wpi.c:2293: error: invalid application of `sizeof' to incomplete type `wpi_scan_chan' if_wpi.c:2294: error: dereferencing pointer to incomplete type if_wpi.c:2295: error: dereferencing pointer to incomplete type if_wpi.c:2296: error: dereferencing pointer to incomplete type if_wpi.c:2297: error: dereferencing pointer to incomplete type if_wpi.c:2298: error: dereferencing pointer to incomplete type if_wpi.c:2298: error: `WPI_ID_BROADCAST' undeclared (first use in this function) if_wpi.c:2299: error: dereferencing pointer to incomplete type if_wpi.c:2300: error: dereferencing pointer to incomplete type if_wpi.c:2301: error: dereferencing pointer to incomplete type if_wpi.c:2308: error: invalid use of undefined type `struct wpi_scan_hdr' if_wpi.c:2354: error: dereferencing pointer to incomplete type if_wpi.c:2358: error: dereferencing pointer to incomplete type if_wpi.c:2358: error: increment of pointer to unknown structure if_wpi.c:2358: error: arithmetic on pointer to an incomplete type if_wpi.c:2359: error: dereferencing pointer to incomplete type if_wpi.c:2360: error: dereferencing pointer to incomplete type if_wpi.c:2361: error: dereferencing pointer to incomplete type if_wpi.c:2362: error: dereferencing pointer to incomplete type if_wpi.c:2363: error: dereferencing pointer to incomplete type if_wpi.c:2365: error: invalid application of `sizeof' to incomplete type `wpi_scan_chan' if_wpi.c:2368: error: dereferencing pointer to incomplete type if_wpi.c:2370: error: dereferencing pointer to incomplete type if_wpi.c:2370: error: dereferencing pointer to incomplete type if_wpi.c:2373: error: dereferencing pointer to incomplete type if_wpi.c:2374: error: dereferencing pointer to incomplete type if_wpi.c:2375: error: dereferencing pointer to incomplete type if_wpi.c:2379: error: dereferencing pointer to incomplete type if_wpi.c:2379: warning: nested extern declaration of `WPI_PAD32' if_wpi.c:1214: warning: redundant redeclaration of 'WPI_PAD32' if_wpi.c:1214: warning: previous implicit declaration of 'WPI_PAD32' was here if_wpi.c:2380: error: dereferencing pointer to incomplete type if_wpi.c:2381: error: dereferencing pointer to incomplete type if_wpi.c:2383: error: dereferencing pointer to incomplete type if_wpi.c:2383: error: dereferencing pointer to incomplete type if_wpi.c:2383: error: dereferencing pointer to incomplete type if_wpi.c:2384: error: dereferencing pointer to incomplete type if_wpi.c:2384: error: dereferencing pointer to incomplete type if_wpi.c:2384: error: dereferencing pointer to incomplete type if_wpi.c:2387: error: dereferencing pointer to incomplete type if_wpi.c:2387: error: dereferencing pointer to incomplete type if_wpi.c:2387: error: `WPI_CMD_RING_COUNT' undeclared (first use in this function) if_wpi.c:2388: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:2388: error: `WPI_TX_WIDX' undeclared (first use in this function) if_wpi.c:2388: error: dereferencing pointer to incomplete type if_wpi.c:2388: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_config': if_wpi.c:2396: error: dereferencing pointer to incomplete type if_wpi.c:2398: error: storage size of 'txpower' isn't known if_wpi.c:2399: error: storage size of 'power' isn't known if_wpi.c:2400: error: storage size of 'bluetooth' isn't known if_wpi.c:2401: error: storage size of 'node' isn't known if_wpi.c:2408: error: dereferencing pointer to incomplete type if_wpi.c:2409: error: dereferencing pointer to incomplete type if_wpi.c:2410: error: `WPI_CMD_TXPOWER' undeclared (first use in this function) if_wpi.c:2412: error: dereferencing pointer to incomplete type if_wpi.c:2419: error: `WPI_CMD_SET_POWER_MODE' undeclared (first use in this function) if_wpi.c:2421: error: dereferencing pointer to incomplete type if_wpi.c:2430: error: `WPI_CMD_BLUETOOTH' undeclared (first use in this function) if_wpi.c:2433: error: dereferencing pointer to incomplete type if_wpi.c:2439: error: dereferencing pointer to incomplete type if_wpi.c:2439: error: invalid application of `sizeof' to incomplete type `wpi_config' if_wpi.c:2440: error: dereferencing pointer to incomplete type if_wpi.c:2441: error: dereferencing pointer to incomplete type if_wpi.c:2442: error: dereferencing pointer to incomplete type if_wpi.c:2442: error: `WPI_CONFIG_TSF' undeclared (first use in this function) if_wpi.c:2442: error: `WPI_CONFIG_AUTO' undeclared (first use in this function) if_wpi.c:2442: error: `WPI_CONFIG_24GHZ' undeclared (first use in this function) if_wpi.c:2444: error: dereferencing pointer to incomplete type if_wpi.c:2447: error: dereferencing pointer to incomplete type if_wpi.c:2447: error: `WPI_MODE_STA' undeclared (first use in this function) if_wpi.c:2448: error: dereferencing pointer to incomplete type if_wpi.c:2448: error: `WPI_FILTER_MULTICAST' undeclared (first use in this function) if_wpi.c:2452: error: dereferencing pointer to incomplete type if_wpi.c:2452: error: `WPI_MODE_IBSS' undeclared (first use in this function) if_wpi.c:2455: error: dereferencing pointer to incomplete type if_wpi.c:2455: error: `WPI_MODE_HOSTAP' undeclared (first use in this function) if_wpi.c:2458: error: dereferencing pointer to incomplete type if_wpi.c:2458: error: `WPI_MODE_MONITOR' undeclared (first use in this function) if_wpi.c:2459: error: dereferencing pointer to incomplete type if_wpi.c:2459: error: `WPI_FILTER_CTL' undeclared (first use in this function) if_wpi.c:2459: error: `WPI_FILTER_PROMISC' undeclared (first use in this function) if_wpi.c:2463: error: dereferencing pointer to incomplete type if_wpi.c:2464: error: dereferencing pointer to incomplete type if_wpi.c:2465: error: `WPI_CMD_CONFIGURE' undeclared (first use in this function) if_wpi.c:2465: error: dereferencing pointer to incomplete type if_wpi.c:2466: error: invalid application of `sizeof' to incomplete type `wpi_config' if_wpi.c:2468: error: dereferencing pointer to incomplete type if_wpi.c:2475: error: `WPI_ID_BROADCAST' undeclared (first use in this function) if_wpi.c:2477: error: `WPI_CMD_ADD_NODE' undeclared (first use in this function) if_wpi.c:2479: error: dereferencing pointer to incomplete type if_wpi.c:2398: warning: unused variable `txpower' if_wpi.c:2399: warning: unused variable `power' if_wpi.c:2400: warning: unused variable `bluetooth' if_wpi.c:2401: warning: unused variable `node' if_wpi.c: In function `wpi_stop_master': if_wpi.c:2492: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:2492: error: `WPI_RESET' undeclared (first use in this function) if_wpi.c:2493: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:2493: error: `WPI_STOP_MASTER' undeclared (first use in this function) if_wpi.c:2495: error: `WPI_GPIO_CTL' undeclared (first use in this function) if_wpi.c:2496: error: `WPI_GPIO_PWR_STATUS' undeclared (first use in this function) if_wpi.c:2496: error: `WPI_GPIO_PWR_SLEEP' undeclared (first use in this function) if_wpi.c:2500: error: `WPI_MASTER_DISABLED' undeclared (first use in this function) if_wpi.c:2505: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_power_up': if_wpi.c:2515: error: `WPI_MEM_POWER' undeclared (first use in this function) if_wpi.c:2520: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:2520: error: `WPI_GPIO_STATUS' undeclared (first use in this function) if_wpi.c:2520: error: `WPI_POWERED' undeclared (first use in this function) if_wpi.c:2525: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_reset': if_wpi.c:2539: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:2539: error: `WPI_INTR' undeclared (first use in this function) if_wpi.c:2541: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:2541: error: `WPI_PLL_CTL' undeclared (first use in this function) if_wpi.c:2542: error: `WPI_PLL_INIT' undeclared (first use in this function) if_wpi.c:2544: error: `WPI_CHICKEN' undeclared (first use in this function) if_wpi.c:2545: error: `WPI_CHICKEN_RXNOLOS' undeclared (first use in this function) if_wpi.c:2547: error: `WPI_GPIO_CTL' undeclared (first use in this function) if_wpi.c:2548: error: `WPI_GPIO_INIT' undeclared (first use in this function) if_wpi.c:2552: error: `WPI_GPIO_CLOCK' undeclared (first use in this function) if_wpi.c:2557: error: dereferencing pointer to incomplete type if_wpi.c:2563: error: `WPI_EEPROM_STATUS' undeclared (first use in this function) if_wpi.c:2564: error: `WPI_EEPROM_VERSION' undeclared (first use in this function) if_wpi.c:2565: error: dereferencing pointer to incomplete type if_wpi.c:2568: error: `WPI_EEPROM_LOCKED' undeclared (first use in this function) if_wpi.c: In function `wpi_hw_config': if_wpi.c:2580: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:2580: error: `WPI_HWCONFIG' undeclared (first use in this function) if_wpi.c:2582: error: dereferencing pointer to incomplete type if_wpi.c:2584: error: `WPI_HW_ALM_MB' undeclared (first use in this function) if_wpi.c:2586: error: `WPI_HW_ALM_MM' undeclared (first use in this function) if_wpi.c:2588: error: `WPI_EEPROM_CAPABILITIES' undeclared (first use in this function) if_wpi.c:2590: error: `WPI_HW_SKU_MRC' undeclared (first use in this function) if_wpi.c:2592: error: `WPI_EEPROM_REVISION' undeclared (first use in this function) if_wpi.c:2593: error: `WPI_HW_REV_D' undeclared (first use in this function) if_wpi.c:2597: error: `WPI_EEPROM_TYPE' undeclared (first use in this function) if_wpi.c:2599: error: `WPI_HW_TYPE_B' undeclared (first use in this function) if_wpi.c:2602: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c: In function `wpi_init': if_wpi.c:2609: error: dereferencing pointer to incomplete type if_wpi.c:2623: error: dereferencing pointer to incomplete type if_wpi.c:2624: error: dereferencing pointer to incomplete type if_wpi.c:2631: error: dereferencing pointer to incomplete type if_wpi.c:2631: error: `WPI_FLAG_INIT_LOCKED' undeclared (first use in this function) if_wpi.c:2633: error: dereferencing pointer to incomplete type if_wpi.c:2636: error: dereferencing pointer to incomplete type if_wpi.c:2641: error: `WPI_MEM_CLOCK1' undeclared (first use in this function) if_wpi.c:2643: error: `WPI_MEM_PCIDEV' undeclared (first use in this function) if_wpi.c:2652: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:2652: error: `WPI_RX_BASE' undeclared (first use in this function) if_wpi.c:2652: error: dereferencing pointer to incomplete type if_wpi.c:2653: error: `WPI_RX_RIDX_PTR' undeclared (first use in this function) if_wpi.c:2654: error: dereferencing pointer to incomplete type if_wpi.c:2655: error: `WPI_RX_WIDX' undeclared (first use in this function) if_wpi.c:2655: error: `WPI_RX_RING_COUNT' undeclared (first use in this function) if_wpi.c:2656: error: `WPI_RX_CONFIG' undeclared (first use in this function) if_wpi.c:2661: error: `WPI_MEM_MODE' undeclared (first use in this function) if_wpi.c:2662: error: `WPI_MEM_RA' undeclared (first use in this function) if_wpi.c:2663: error: `WPI_MEM_TXCFG' undeclared (first use in this function) if_wpi.c:2664: error: `WPI_MEM_BYPASS1' undeclared (first use in this function) if_wpi.c:2665: error: `WPI_MEM_BYPASS2' undeclared (first use in this function) if_wpi.c:2666: error: `WPI_MEM_MAGIC4' undeclared (first use in this function) if_wpi.c:2667: error: `WPI_MEM_MAGIC5' undeclared (first use in this function) if_wpi.c:2669: error: `WPI_TX_BASE_PTR' undeclared (first use in this function) if_wpi.c:2669: error: dereferencing pointer to incomplete type if_wpi.c:2670: error: `WPI_MSG_CONFIG' undeclared (first use in this function) if_wpi.c:2673: warning: implicit declaration of function `WPI_TX_CTL' if_wpi.c:2673: warning: nested extern declaration of `WPI_TX_CTL' if_wpi.c:2674: warning: implicit declaration of function `WPI_TX_BASE' if_wpi.c:2674: warning: nested extern declaration of `WPI_TX_BASE' if_wpi.c:2675: warning: nested extern declaration of `WPI_TX_CONFIG' if_wpi.c:795: warning: redundant redeclaration of 'WPI_TX_CONFIG' if_wpi.c:795: warning: previous implicit declaration of 'WPI_TX_CONFIG' was here if_wpi.c:2680: error: `WPI_UCODE_CLR' undeclared (first use in this function) if_wpi.c:2680: error: `WPI_RADIO_OFF' undeclared (first use in this function) if_wpi.c:2681: error: `WPI_DISABLE_CMD' undeclared (first use in this function) if_wpi.c:2684: error: `WPI_INTR' undeclared (first use in this function) if_wpi.c:2686: error: `WPI_MASK' undeclared (first use in this function) if_wpi.c:2686: error: `WPI_INTR_MASK' undeclared (first use in this function) if_wpi.c:2692: error: dereferencing pointer to incomplete type if_wpi.c:2694: error: dereferencing pointer to incomplete type if_wpi.c:2697: error: dereferencing pointer to incomplete type if_wpi.c:2702: error: invalid application of `sizeof' to incomplete type `wpi_firmware_hdr' if_wpi.c:2703: error: dereferencing pointer to incomplete type if_wpi.c:2710: error: invalid application of `sizeof' to incomplete type `wpi_firmware_hdr' if_wpi.c:2711: error: dereferencing pointer to incomplete type if_wpi.c:2711: error: dereferencing pointer to incomplete type if_wpi.c:2712: error: dereferencing pointer to incomplete type if_wpi.c:2713: error: dereferencing pointer to incomplete type if_wpi.c:2719: error: invalid use of undefined type `struct wpi_firmware_hdr' if_wpi.c:2720: error: dereferencing pointer to incomplete type if_wpi.c:2721: error: dereferencing pointer to incomplete type if_wpi.c:2724: error: dereferencing pointer to incomplete type if_wpi.c:2726: error: dereferencing pointer to incomplete type if_wpi.c:2731: error: `WPI_FW_TEXT' undeclared (first use in this function) if_wpi.c:2731: error: dereferencing pointer to incomplete type if_wpi.c:2733: error: dereferencing pointer to incomplete type if_wpi.c:2738: error: `WPI_FW_DATA' undeclared (first use in this function) if_wpi.c:2738: error: dereferencing pointer to incomplete type if_wpi.c:2740: error: dereferencing pointer to incomplete type if_wpi.c:2747: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:2747: error: `WPI_RESET' undeclared (first use in this function) if_wpi.c:2748: error: `WPI_MASTER_DISABLED' undeclared (first use in this function) if_wpi.c:2748: error: `WPI_STOP_MASTER' undeclared (first use in this function) if_wpi.c:2748: error: `WPI_NEVO_RESET' undeclared (first use in this function) if_wpi.c:2752: error: dereferencing pointer to incomplete type if_wpi.c:2753: error: dereferencing pointer to incomplete type if_wpi.c:2760: error: `WPI_TEMPERATURE' undeclared (first use in this function) if_wpi.c:2765: error: dereferencing pointer to incomplete type if_wpi.c:2772: error: dereferencing pointer to incomplete type if_wpi.c:2782: error: dereferencing pointer to incomplete type if_wpi.c:2788: error: dereferencing pointer to incomplete type if_wpi.c:2794: error: dereferencing pointer to incomplete type if_wpi.c:2798: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_stop': if_wpi.c:2805: error: dereferencing pointer to incomplete type if_wpi.c:2810: error: dereferencing pointer to incomplete type if_wpi.c:2815: warning: nested extern declaration of `WPI_WRITE' if_wpi.c:636: warning: redundant redeclaration of 'WPI_WRITE' if_wpi.c:636: warning: previous implicit declaration of 'WPI_WRITE' was here if_wpi.c:2815: error: `WPI_MASK' undeclared (first use in this function) if_wpi.c:2816: error: `WPI_INTR' undeclared (first use in this function) if_wpi.c:2816: error: `WPI_INTR_MASK' undeclared (first use in this function) if_wpi.c:2817: error: `WPI_INTR_STATUS' undeclared (first use in this function) if_wpi.c:2821: error: `WPI_MEM_MODE' undeclared (first use in this function) if_wpi.c:2826: error: dereferencing pointer to incomplete type if_wpi.c:2827: error: dereferencing pointer to incomplete type if_wpi.c:2828: error: dereferencing pointer to incomplete type if_wpi.c:2831: error: dereferencing pointer to incomplete type if_wpi.c:2834: error: `WPI_MEM_CLOCK2' undeclared (first use in this function) if_wpi.c:2841: warning: nested extern declaration of `WPI_READ' if_wpi.c:638: warning: redundant redeclaration of 'WPI_READ' if_wpi.c:638: warning: previous implicit declaration of 'WPI_READ' was here if_wpi.c:2841: error: `WPI_RESET' undeclared (first use in this function) if_wpi.c:2842: error: `WPI_SW_RESET' undeclared (first use in this function) if_wpi.c:2844: error: dereferencing pointer to incomplete type if_wpi.c:2847: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:2878: warning: "struct wpi_amrr" declared inside parameter list if_wpi.c:2879: error: conflicting types for 'wpi_amrr_init' if_wpi.c:155: error: previous declaration of 'wpi_amrr_init' was here if_wpi.c:2879: error: conflicting types for 'wpi_amrr_init' if_wpi.c:155: error: previous declaration of 'wpi_amrr_init' was here if_wpi.c: In function `wpi_amrr_init': if_wpi.c:2880: error: dereferencing pointer to incomplete type if_wpi.c:2883: error: dereferencing pointer to incomplete type if_wpi.c:2884: error: dereferencing pointer to incomplete type if_wpi.c:2885: error: dereferencing pointer to incomplete type if_wpi.c:2885: error: dereferencing pointer to incomplete type if_wpi.c:2886: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_amrr_timeout': if_wpi.c:2900: error: dereferencing pointer to incomplete type if_wpi.c:2907: error: dereferencing pointer to incomplete type if_wpi.c: In function `wpi_amrr_ratectl': if_wpi.c:2917: error: dereferencing pointer to incomplete type if_wpi.c:2917: error: dereferencing pointer to incomplete type if_wpi.c:2917: error: dereferencing pointer to incomplete type if_wpi.c:2918: error: dereferencing pointer to incomplete type if_wpi.c:2919: error: dereferencing pointer to incomplete type if_wpi.c:2919: error: dereferencing pointer to incomplete type if_wpi.c:2921: error: dereferencing pointer to incomplete type if_wpi.c:2922: error: dereferencing pointer to incomplete type if_wpi.c:2924: error: dereferencing pointer to incomplete type if_wpi.c:2924: error: dereferencing pointer to incomplete type if_wpi.c:2929: error: dereferencing pointer to incomplete type if_wpi.c:2931: error: dereferencing pointer to incomplete type if_wpi.c:2931: error: dereferencing pointer to incomplete type if_wpi.c:2932: error: dereferencing pointer to incomplete type if_wpi.c:2934: error: dereferencing pointer to incomplete type if_wpi.c:2935: error: dereferencing pointer to incomplete type if_wpi.c:2936: error: dereferencing pointer to incomplete type if_wpi.c:2938: error: dereferencing pointer to incomplete type if_wpi.c:2941: error: dereferencing pointer to incomplete type if_wpi.c:2945: error: dereferencing pointer to incomplete type if_wpi.c:2945: error: dereferencing pointer to incomplete type if_wpi.c:2950: error: dereferencing pointer to incomplete type if_wpi.c:2953: error: dereferencing pointer to incomplete type if_wpi.c:2954: error: dereferencing pointer to incomplete type if_wpi.c:2954: error: dereferencing pointer to incomplete type if_wpi.c: At top level: if_wpi.c:106: warning: 'wpi_alloc_rx_ring' declared `static' but never defined if_wpi.c:107: warning: 'wpi_reset_rx_ring' declared `static' but never defined if_wpi.c:108: warning: 'wpi_free_rx_ring' declared `static' but never defined if_wpi.c:110: warning: 'wpi_alloc_tx_ring' declared `static' but never defined if_wpi.c:111: warning: 'wpi_reset_tx_ring' declared `static' but never defined if_wpi.c:112: warning: 'wpi_free_tx_ring' declared `static' but never defined if_wpi.c:127: warning: 'wpi_rx_intr' declared `static' but never defined if_wpi.c:129: warning: 'wpi_tx_intr' declared `static' but never defined if_wpi.c:130: warning: 'wpi_cmd_intr' declared `static' but never defined if_wpi.c:155: warning: 'wpi_amrr_init' declared `static' but never defined if_wpi.c:547: warning: 'wpi_alloc_rx_ring' defined but not used if_wpi.c:653: warning: 'wpi_free_rx_ring' defined but not used if_wpi.c:688: warning: 'wpi_alloc_tx_ring' defined but not used if_wpi.c:832: warning: 'wpi_free_tx_ring' defined but not used if_wpi.c:2879: warning: 'wpi_amrr_init' defined but not used *** Error code 1 Stop in /usr/home/tingo/work/wpi-freebsd/wpi. *** Error code 1 Stop in /usr/home/tingo/work/wpi-freebsd.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0607221910320.4394>
