From owner-cvs-all Sat Jan 6 16:34:58 2001 From owner-cvs-all@FreeBSD.ORG Sat Jan 6 16:34:53 2001 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mobile.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 4C1DC37B404; Sat, 6 Jan 2001 16:34:53 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f070ZIq75643; Sat, 6 Jan 2001 16:35:21 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200101070035.f070ZIq75643@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Greg Lehey Cc: Jonathan Chen , 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 In-Reply-To: <20010107105425.H44092@wantadilla.lemis.com> Date: Sat, 06 Jan 2001 16:35:18 -0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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