Sorry, I think you use nevada b105 or later. The gld version 3 interface of my drivers doesn't work with nevada b105. It requires many change on my drivers, but I cannot update them for the time being.
-masa ----- Original Message ----- >Date: Fri, 19 Dec 2008 14:20:01 +0100 >From: Piotr Jasiukajtis <[email protected]> >To: Masa Murayama <[email protected]> >Cc: [email protected], [email protected] >Subject: Re: [driver-discuss] alta 2.6.0 GLD3 build failure SXCE101/gcc/SS11 > > >Masa Murayama pisze: >> Thank you very much for the bug report.There is a typo in gem.h >> >> Please change gem_quiscence to gem_quiesce. >Ok done. > >$ make clean ; make >rm -f i386/* >gcc -c -O3 -D__INLINE__=inline -DGEM_GCC_RUNTIME -ffreestanding -U_NO_LONGLON G >-D_KERNEL -U_ASM_INLINES -D_SYSCALL32 -D_SYSCALL32_IMPL -Dsun -D__sun -D__S VR4 > -DC2_AUDIT -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare >-Wno-parentheses -Wno-uninitialized -Wno-implicit-function-declaration >-Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Wno-format -Wer ror >-Di86pc -DDEBUG -DDEBUG_LEVEL=0 -UGEM_DEBUG_LEVEL -I >/home/mrym/opensolaris/usr/src/uts/common -UDEBUG_RESUME -DGEM_CONFIG_POLLING >-DGEM_CONFIG_GLDv3 -UGEM_CONFIG_VLAN_HW -UGEM_CONFIG_CKSUM_OFFLOAD -DSOLARIS 10 > -Unotdef -UNEVER -UGEM_GCC_RUNTIME -UGEM_COMPAT -USANITY -UGEM_CONFIG_FMA >-UMODULE -UGEM_CONFIG_RX_DIRECT -DGEM_CONFIG_TX_DIRECT -UOS_PUTBACK >-UUSE_FRAMEID -UMAP_MEM -DVERSION='"2.6.1"' alta_gem.c -o i386/alta_gem.o >gcc -c -O3 -D__INLINE__=inline -DGEM_GCC_RUNTIME -ffreestanding -U_NO_LONGLON G >-D_KERNEL -U_ASM_INLINES -D_SYSCALL32 -D_SYSCALL32_IMPL -Dsun -D__sun -D__S VR4 > -DC2_AUDIT -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare >-Wno-parentheses -Wno-uninitialized -Wno-implicit-function-declaration >-Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Wno-format -Wer ror >-Di86pc -DDEBUG -DDEBUG_LEVEL=0 -UGEM_DEBUG_LEVEL -I >/home/mrym/opensolaris/usr/src/uts/common -UDEBUG_RESUME -DGEM_CONFIG_POLLING >-DGEM_CONFIG_GLDv3 -UGEM_CONFIG_VLAN_HW -UGEM_CONFIG_CKSUM_OFFLOAD -DSOLARIS 10 > -Unotdef -UNEVER -UGEM_GCC_RUNTIME -UGEM_COMPAT -USANITY -UGEM_CONFIG_FMA >-UMODULE -UGEM_CONFIG_RX_DIRECT -DGEM_CONFIG_TX_DIRECT -UOS_PUTBACK >-UUSE_FRAMEID -UMAP_MEM -DVERSION='"2.6.1"' gem.c -o i386/gem.o >gem.c:5877: error: syntax error before "mac_capab_t" >gem.c:5881: error: syntax error before "gem_m_callbacks" >gem.c:5881: warning: type defaults to `int' in declaration of `gem_m_callback s' >gem.c:5882: error: `MC_RESOURCES' undeclared here (not in a function) >gem.c:5882: error: `MC_IOCTL' undeclared here (not in a function) >gem.c:5882: error: `MC_GETCAPAB' undeclared here (not in a function) >gem.c:5882: error: initializer element is not constant >gem.c:5882: error: (near initialization for `gem_m_callbacks') >gem.c:5883: warning: excess elements in scalar initializer >gem.c:5883: warning: (near initialization for `gem_m_callbacks') >gem.c:5884: warning: excess elements in scalar initializer >gem.c:5884: warning: (near initialization for `gem_m_callbacks') >gem.c:5885: warning: excess elements in scalar initializer >gem.c:5885: warning: (near initialization for `gem_m_callbacks') >gem.c:5886: warning: excess elements in scalar initializer >gem.c:5886: warning: (near initialization for `gem_m_callbacks') >gem.c:5887: warning: excess elements in scalar initializer >gem.c:5887: warning: (near initialization for `gem_m_callbacks') >gem.c:5888: warning: excess elements in scalar initializer >gem.c:5888: warning: (near initialization for `gem_m_callbacks') >gem.c:5889: warning: excess elements in scalar initializer >gem.c:5889: warning: (near initialization for `gem_m_callbacks') >gem.c:5890: warning: excess elements in scalar initializer >gem.c:5890: warning: (near initialization for `gem_m_callbacks') >gem.c:5891: warning: excess elements in scalar initializer >gem.c:5891: warning: (near initialization for `gem_m_callbacks') >gem.c:5892: warning: excess elements in scalar initializer >gem.c:5892: warning: (near initialization for `gem_m_callbacks') >gem.c:5893: warning: data definition has no type or storage class >gem.c: In function `gem_m_resources': >gem.c:6454: error: structure has no member named `mrf_blank' >gem.c:6455: error: structure has no member named `mrf_arg' >gem.c:6456: error: structure has no member named `mrf_normal_blank_time' >gem.c:6457: error: structure has no member named `mrf_normal_pkt_count' >gem.c:6459: warning: assignment makes pointer from integer without a cast >gem.c: At top level: >gem.c:6475: error: syntax error before "mac_capab_t" >gem.c: In function `gem_m_getcapab': >gem.c:6484: error: `cap' undeclared (first use in this function) >gem.c:6484: error: (Each undeclared identifier is reported only once >gem.c:6484: error: for each function it appears in.) >gem.c:6518: error: `MAC_CAPAB_POLL' undeclared (first use in this function) >gem.c: At top level: >gem.c:6526: error: syntax error before "mac_register_t" >gem.c: In function `gem_gld3_init': >gem.c:6528: error: `macp' undeclared (first use in this function) >gem.c:6529: error: `dp' undeclared (first use in this function) >gem.c: In function `gem_do_attach': >gem.c:7271: error: `mac_register_t' undeclared (first use in this function) >gem.c:7271: error: `macp' undeclared (first use in this function) >gem.c:7297: error: `MAC_VERSION' undeclared (first use in this function) >*** Error code 1 >make: Fatal error: Command failed for target `i386/gem.o' > > >-- >Regards, >Piotr Jasiukajtis | estibi | SCA OS0072 >http://estseg.blogspot.com _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
