Using gentoo and/or sabayon linux when I try to run make it tells me there is no linux/config.h file. Do kernel sources normally have those files or am I missing a step?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tried the new uploaded sources and all worked fine. Thanks. As a side note, it worked with my 2.6.18 kernel as well (the old one didn't work on that kernel before either).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't compile this driver on Fedora Core 7, because of there is a problem with vlan_device struct.
There isn't vla_devises.
in file "et131x_netdev.c"
/**************************************************************************
This is where any interfacing with the hardware to deregister VLAN IDs
would take place. Since the ET1310 doesn't handle this in hardware,
nothing else needs to be done here.
*************************************************************************/
DBG_LEAVE( et131x_dbginfo );
return;
}
Could you help me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Apparently it's not done that way anymore ... looking around, I found this change in the MadWifi project drivers <http://madwifi.org/changeset/2180>. Doing the same thing here fixes the problem.
I'll put a patch up on the tracker (at <http://sourceforge.net/tracker/index.php?func=detail&aid=1709009&group_id=179406&atid=889025>) in a moment... although I notice someone else came up with another solution to the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using gentoo and/or sabayon linux when I try to run make it tells me there is no linux/config.h file. Do kernel sources normally have those files or am I missing a step?
change
#include <linux/config.h>
to
//#include <linux/config.h>
in et131x_version.h
commented out that line and still get errors.
last few lines of compile give me:
In file included from /usr/local/src/et131_stuff/sourceforge_driver/et131x-1.2.2/et131x_adapter.h:85,
from /usr/local/src/et131_stuff/sourceforge_driver/et131x-1.2.2/et131x_main.c:116:
/usr/local/src/et131_stuff/sourceforge_driver/et131x-1.2.2/ET1310_rx.h:441: warning: ‘kmem_cache_t’ is deprecated
/usr/local/src/et131_stuff/sourceforge_driver/et131x-1.2.2/et131x_main.c:140: error: expected ‘)’ before string constant
/usr/local/src/et131_stuff/sourceforge_driver/et131x-1.2.2/et131x_main.c:141: error: expected ‘)’ before string constant
make[2]: *** [/usr/local/src/et131_stuff/sourceforge_driver/et131x-1.2.2/et131x_main.o] Error 1
make[1]: *** [_module_/usr/local/src/et131_stuff/sourceforge_driver/et131x-1.2.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-sabayon-r1'
make: *** [modules] Error 2
I tried this on an older kernel earlier and it gave me an error it was missing a parameter for a function (don't remember what function off hand).
I currently am running linux kernel 2.6.20-r1
try downloading the new source files i just put up. It contains patches that were submitted for the 2.6.20 kernel. Let me know how it goes.
Tried the new uploaded sources and all worked fine. Thanks. As a side note, it worked with my 2.6.18 kernel as well (the old one didn't work on that kernel before either).
I can't compile this driver on Fedora Core 7, because of there is a problem with vlan_device struct.
There isn't vla_devises.
in file "et131x_netdev.c"
void et131x_vlan_rx_kill_vid( struct net_device *netdev, UINT16 vid )
{
ET131X_ADAPTER *pAdapter = netdev_priv( netdev );
/*-----------------------------------------------------------------------*/
DBG_FUNC( "et131x_vlan_rx_kill_vid" );
DBG_ENTER( et131x_dbginfo );
DBG_VERBOSE( et131x_dbginfo, "VLAN, Remove VID: %d\n", vid );
if( pAdapter->vlgrp )
{
pAdapter->vlgrp->vlan_devices[vid] = NULL;
}
/**************************************************************************
This is where any interfacing with the hardware to deregister VLAN IDs
would take place. Since the ET1310 doesn't handle this in hardware,
nothing else needs to be done here.
*************************************************************************/
DBG_LEAVE( et131x_dbginfo );
return;
}
Could you help me?
Apparently it's not done that way anymore ... looking around, I found this change in the MadWifi project drivers <http://madwifi.org/changeset/2180>. Doing the same thing here fixes the problem.
I'll put a patch up on the tracker (at <http://sourceforge.net/tracker/index.php?func=detail&aid=1709009&group_id=179406&atid=889025>) in a moment... although I notice someone else came up with another solution to the problem.