RE: problems with Xircom REM56G (non-Cardbus) on -CURRENT

[email protected]
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <5D90F2332B50D411BE8A00209412104C03850A1C@QHS63>
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:[email protected]]
Sent: 28 June 2002 12:11
To: M. Warner Losh
Cc: [email protected]
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: <[email protected]>
>             M. Warner Losh <[email protected]> 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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.