Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 13:13:59 +0200
From:      alan.edmonds@t-motion.net
To:        stijn@win.tue.nl, imp@village.org
Cc:        freebsd-mobile@freebsd.org
Subject:   RE: problems with Xircom REM56G (non-Cardbus) on -CURRENT
Message-ID:  <5D90F2332B50D411BE8A00209412104C03850A1C@QHS63>

next in thread | raw e-mail | index | archive | help
I have (I think) a similar problem with my HP510. PCMCIA
cards don't work at all unless I build a kernel with

PCI_ENABLE_IO_MODES
PCI_ALLOW_UNSUPPORTED_IO_RANGE

defined.  This is with -CURRENT.
After that, my Intel 2011 (wi driver) works like
a champ.

Alan Edmonds


-----Original Message-----
From: Stijn Hoop [mailto:stijn@win.tue.nl]
Sent: 28 June 2002 12:11
To: M. Warner Losh
Cc: freebsd-mobile@freebsd.org
Subject: Re: problems with Xircom REM56G (non-Cardbus) on -CURRENT


On Thu, Jun 27, 2002 at 12:00:11PM -0600, M. Warner Losh wrote:
> In message: <20020627.115419.15397037.imp@village.org>
>             M. Warner Losh <imp@village.org> writes:
> : 
> : 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, "");

Still no luck with both methods. Rebuilding & installing a GENERIC kernel
would make the patch work, right?

I tried setting machdep.pccard.mem_start to 0xd0000, 0xd1000,
0xd4000 & 0xd8000. I also set machdep.pccard.mem_end to 0xd1fff one time.

I would still get the message:

Jun 28 13:07:53 nbwin141 pccardd[146]: driver allocation failed for Xircom(Creditcard Ethernet 10/100 + Modem 56): Device not configured

Any other options left?

--Stijn

-- 
Tact, n.:
	The unsaid part of what you're thinking.

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?5D90F2332B50D411BE8A00209412104C03850A1C>