From owner-freebsd-mobile Wed Jan 10 12:52:57 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id 6165437B698 for ; Wed, 10 Jan 2001 12:52:38 -0800 (PST) Received: from dmlb.org ([62.253.135.85]) by mta05-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010110205237.ZCVT18404.mta05-svc.ntlworld.com@dmlb.org> for ; Wed, 10 Jan 2001 20:52:37 +0000 Received: from dmlb by dmlb.org with local (Exim 3.03 #1) id 14GSEX-000GSx-00 for mobile@freebsd.org; Wed, 10 Jan 2001 20:52:37 +0000 Content-Length: 1251 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 Date: Wed, 10 Jan 2001 20:52:37 -0000 (GMT) From: Duncan Barclay To: mobile@freebsd.org Subject: pccardd, pccard and memory mapping Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, In fixing a few things for the if_ray driver I've discovered major abuses and inconsitancies in the used of shared memory for PCCards under pccardd/OLDCARD. At present o pccardd assumes that any devices that has shared memory is an ed device. o pccardd sets all memory to be 16bit o pccardd sets all memory to have an offset in the address space that suits ed cards o pccardc abuses (not necessarily delibrately) memory window 0 this can cause unmapping of the current cards memory area (eg. pccardc rdattr). Because of these problems there are some drivers for ethernet and wireless LAN cards that don't use memory mapped access to the card. I reckon that tidying this up will not be too much work as only a few drivers are affected. However, I would like to solicit opinions on whether doing this would be worthwhile given NEWCARD? Is NEWCARD ever going to reach -stable? If not, I think that tidying up this area would be useful. Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@dmlb.org | the alcoholics, and the permanently stoned. dmlb@freebsd.org| Steven King To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message