Force the ThunderLAN driver to use PIO mode by default instead of

memory mapped mode. There are some laptop docking stations with
built-in tlan chips where memory mapped mode doesn't work correctly.

Pointed out by: jmb
This commit is contained in:
Bill Paul 1998-10-04 18:47:38 +00:00
parent 0276d282db
commit 9624d2cdc2
1 changed files with 9 additions and 2 deletions

View File

@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_tl.c,v 1.30 1998/09/24 16:26:02 wpaul Exp $
* $Id: if_tl.c,v 1.16 1998/09/24 17:14:23 wpaul Exp $
*/
/*
@ -205,13 +205,20 @@
#include <pci/pcireg.h>
#include <pci/pcivar.h>
/*
* Default to using PIO register access mode to pacify certain
* laptop docking stations with built-in ThunderLAN chips that
* don't seem to handle memory mapped mode properly.
*/
#define TL_USEIOSPACE
/* #define TL_BACKGROUND_AUTONEG */
#include <pci/if_tlreg.h>
#ifndef lint
static char rcsid[] =
"$Id: if_tl.c,v 1.30 1998/09/24 16:26:02 wpaul Exp $";
"$Id: if_tl.c,v 1.16 1998/09/24 17:14:23 wpaul Exp $";
#endif
#ifdef TL_DEBUG