From owner-freebsd-current Wed May 29 9:18:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from shidahara1.planet.sci.kobe-u.ac.jp (shidahara1.planet.sci.kobe-u.ac.jp [133.30.68.253]) by hub.freebsd.org (Postfix) with ESMTP id D24ED37B403 for ; Wed, 29 May 2002 09:18:18 -0700 (PDT) Received: from shidahara1.planet.sci.kobe-u.ac.jp (localhost [127.0.0.1]) by shidahara1.planet.sci.kobe-u.ac.jp (8.9.3/8.9.3) with ESMTP id BAA34034; Thu, 30 May 2002 01:14:18 +0900 (JST) (envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp) Message-Id: <200205291614.BAA34034@shidahara1.planet.sci.kobe-u.ac.jp> To: imp@village.org Cc: current@freebsd.org Subject: Making newcard and oldcard moduler. Date: Thu, 30 May 2002 01:14:18 +0900 From: Takanori Watanabe Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I managed to make pccard device driver into loadable module. http://people.freebsd.org/~takawata/cardmodule.diff To use this, 1. Apply following patch.(diff from HEAD) 2. Remove 'pccard','pcic','pccbb','cardbus', 'card' line from configuration file. 3. Add following line to configuration file. (Should it be standard?) == device cardcom == 4. Rebuild your kernel. 5. Move /sys/modules/ and build oldcard, pccbb, pccard, cardbus, pcic module and install them. 6 Reboot. 7 If you want to use oldcard, type as follows in loader(8). == load oldcard boot == Or if you want to use newcard with CardBus controller, type as follows. == load pccbb boot == CAVEATS Unloading newcard may cause page fault. Loading both of them cause something bad. I don't check whether all pccard driver works well. Have fun. Takanori Watanabe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message