summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-10-04 18:47:38 +0000
committerwpaul <wpaul@FreeBSD.org>1998-10-04 18:47:38 +0000
commit59ead59fcd256e840c36f2e7079e28289fa2302c (patch)
treec529091f2693b4c9b8ae0a6447f41d6d32711381 /sys/pci
parentc12958d88c3acf7359790f84b363f0b5f7362c7a (diff)
downloadFreeBSD-src-59ead59fcd256e840c36f2e7079e28289fa2302c.zip
FreeBSD-src-59ead59fcd256e840c36f2e7079e28289fa2302c.tar.gz
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
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_tl.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index c6d2369..d778794 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -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
OpenPOWER on IntegriCloud