Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 12:00:11 -0600 (MDT)
From:      "M. Warner Losh" <imp@village.org>
To:        stijn@win.tue.nl
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: problems with Xircom REM56G (non-Cardbus) on -CURRENT
Message-ID:  <20020627.120011.72930538.imp@village.org>
In-Reply-To: <20020627.115419.15397037.imp@village.org>
References:  <20020618163750.A3027@pcwin002.win.tue.nl> <20020627103116.GB237@pcwin002.win.tue.nl> <20020627.115419.15397037.imp@village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020627.115419.15397037.imp@village.org>
            M. Warner Losh <imp@village.org> writes:
: In message: <20020627103116.GB237@pcwin002.win.tue.nl>
:             Stijn Hoop <stijn@win.tue.nl> writes:
: : Except for one private reply (which was helpful but unfortenately didn't
: : work), I got no responses... Can I do anything to make this work (compiling
: : with debugging options, etc etc), or am I just screwed with this card &
: : -CURRENT?
: 
: You might want to try to set machdep.pccard.mem_start and/or .mem_end
: to see if you can get things working right.

Alternatively, the following patch might help:

Index: pccard_nbk.c
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/sys/pccard/pccard_nbk.c,v
retrieving revision 1.40
diff -u -r1.40 pccard_nbk.c
--- pccard_nbk.c	30 May 2002 18:48:44 -0000	1.40
+++ pccard_nbk.c	27 Jun 2002 18:00:06 -0000
@@ -86,8 +86,13 @@
 
 SYSCTL_NODE(_machdep, OID_AUTO, pccard, CTLFLAG_RW, 0, "pccard");
 
+#ifdef UNSAFE
 static u_long mem_start = IOM_BEGIN;
 static u_long mem_end = IOM_END;
+#else
+static u_long mem_start = 0xd0000;
+static u_long mem_end = 0xeffff;
+#endif
 
 SYSCTL_ULONG(_machdep_pccard, OID_AUTO, mem_start, CTLFLAG_RW,
     &mem_start, 0, "");

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627.120011.72930538.imp>