mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
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:
parent
0276d282db
commit
9624d2cdc2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39957
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user