From owner-freebsd-mobile Wed Dec 1 8:11:52 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from idisys.iae.nsk.su (idisys.iae.nsk.su [193.124.169.11]) by hub.freebsd.org (Postfix) with SMTP id 53AAD15AE5 for ; Wed, 1 Dec 1999 08:11:42 -0800 (PST) (envelope-from alex-mobile@idisys.iae.nsk.su) Received: (qmail 31580 invoked by uid 1005); 1 Dec 1999 16:11:33 -0000 Date: 1 Dec 1999 16:11:33 -0000 Message-ID: <19991201161133.31579.qmail@idisys.iae.nsk.su> From: alex-mobile@idisys.iae.nsk.su To: freebsd-mobile@FreeBSD.ORG Subject: writing a driver for a PC-Card Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! I have a BreezeNet Wavelan PC Card and the sources for its linux driver and have to make a "port" of it for the FreeBSD. My question is: I see that the Linux driver requests the card manager to map both shared and attribute memory 'by hands' in the card init procedure. In the freebsd drivers I see that the memory is already mapped when the card init procedure is called (id_maddr set). The manual for the new (PAO-991011) pccardd says that this is the common ("mailbox") memory. Is it true? And how can I map the 'attribute' memory? This question is quite significant for the card because it doesn't use 'traditional' 'i/o ports' model to perform resetting etc. Please point me to the FreeBSD PC-Card driver creation documentation if any. Any your help will be greatly appreciated. Thank you. Alexey Morozov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message