Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jan 2001 16:35:18 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Greg Lehey <grog@lemis.com>
Cc:        Jonathan Chen <jon@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/cardbus cardbus.c cardbus_cis.c cardbus_cis.h src/sys/dev/pccard card_if.m pccard.c pccardvar.h src/sys/dev/pccbb pccbb.c pccbbvar.h 
Message-ID:  <200101070035.f070ZIq75643@mobile.wemm.org>
In-Reply-To: <20010107105425.H44092@wantadilla.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote:
> On Saturday,  6 January 2001 at 10:04:56 -0800, Jonathan Chen wrote:
> >
> >   * pccard begins to work
> >     - pccard can now use higher memory space (and uses it by default).
> 
> How high?  Does this mean that, for normal PCMCIA cards, we're no
> longer bound to the 64 kB at 0xd0000?
> 
> I'm a little hazy about the status of CardBus/pccard support in
> -CURRENT.  Is it still an either/or proposition?

pccbbvar.h:#define CARDBUS_SYS_RES_MEMORY_START    0x44000000
pccbbvar.h:#define CARDBUS_SYS_RES_MEMORY_END      0xEFFFFFFF

However, I think you need the following patch to make things compile:
Index: i82365reg.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/pcic/i82365reg.h,v
retrieving revision 1.6
diff -u -r1.6 i82365reg.h
--- i82365reg.h	2000/12/11 15:02:49	1.6
+++ i82365reg.h	2001/01/07 00:23:01
@@ -320,6 +320,15 @@
 /* #define	PCIC_RESERVED			0x3E */
 /* #define	PCIC_RESERVED			0x3F */
 
+/* cardbus extensions - memory window page registers */
+
+#define	PCIC_MEMREG_WIN_SHIFT			24
+#define	PCIC_SYSMEM_ADDR0_WIN			0x40
+#define	PCIC_SYSMEM_ADDR1_WIN			0x41
+#define	PCIC_SYSMEM_ADDR2_WIN			0x42
+#define	PCIC_SYSMEM_ADDR3_WIN			0x43
+#define	PCIC_SYSMEM_ADDR4_WIN			0x44
+
 /* vendor-specific registers */
 
 #define	PCIC_INTEL_GLOBAL_CTL			0x1E	/* RW */

This is not tested yet, but I am about 30 seconds from doing so.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5



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




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