Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2002 01:14:18 +0900
From:      Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
To:        imp@village.org
Cc:        current@freebsd.org
Subject:   Making newcard and oldcard moduler.
Message-ID:  <200205291614.BAA34034@shidahara1.planet.sci.kobe-u.ac.jp>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205291614.BAA34034>