From owner-freebsd-mobile Tue Jun 27 23:57:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id 18CF937B5E0; Tue, 27 Jun 2000 23:57:34 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from ragnet.demon.co.uk ([158.152.46.40]) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 137Bmu-000Az9-0U; Wed, 28 Jun 2000 07:57:32 +0100 Received: from dmlb by ragnet.demon.co.uk with local (Exim 3.03 #1) id 137BlH-00004o-00; Wed, 28 Jun 2000 07:55:51 +0100 Content-Length: 2194 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000628132504Q.iwasaki@jp.FreeBSD.org> Date: Wed, 28 Jun 2000 07:55:51 +0100 (BST) From: Duncan Barclay To: Mitsuru IWASAKI Subject: RE: pccard differences between -current and -stable Cc: iwasaki@freebsd.org, imp@village.org, freebsd-mobile@freebsd.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 28-Jun-00 Mitsuru IWASAKI wrote: > > It seems that this 0x4000 hack have been there since 5 years ago... > I'm sorry I couldn't get it, but how about the changes like this; > if (sp->mem.cardaddr == 0) > sp->mem.cardaddr = 0x4000; Not good for raylink cards as they want sp->mem.cardaddr = 0; > also, PAO has `cardmem' feature for this kind of purpose if I > understand correctly, say; > cardmem memaddr cardaddr memsize [memflags] > : > cardio and cardmem keywords are used with cards whose resources such as > I/O ports and shared memory block, are not specified in the CIS tuple. > A > base address and size of I/O ports are specified in iobase and iosize, > ones of shared memory block are specified in cardaddr, memsize and > memaddr. An address of a card is cardaddr, one of host is memaddr. Op- > tional flags can be specified in memflags. > > and sample configuration is like this; ># IBM Smart Capture Card > card "IBM Corp\." "Video Capture" > config default "scc0" pio > cardmem 0xd4000 0x0 0x8000 > insert logger -s Smart Capture Card inserted > remove logger -s Smart Capture Card removed > > Do we need this feature? I don't think so as Warners more recent changes to pccard get all this right. I have no problem in setting up the raylink cards with a config entry of card "WebGear" "PC Card WLAN Adapter" config 0x01 "ray0" ? And I need both common and attrbiute memory. crashme# pccardc rdmap Mem 0: flags 0x040 host 0xd0000 card 0000 size 49152 bytes Mem 1: flags 0x050 host 0xdc000 card 0000 size 4096 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message