From owner-FreeBSD-users-jp@jp.freebsd.org  Wed Sep 23 00:35:30 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.0W/8.7.3) id AAA15950;
	Wed, 23 Sep 1998 00:35:30 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mccisv3.mcci.or.jp (mccisv3.mcci.or.jp [202.248.63.53])
	by jaz.jp.freebsd.org (8.9.1+3.0W/8.7.3) with ESMTP id AAA15939
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 23 Sep 1998 00:35:27 +0900 (JST)
	(envelope-from forest@po.mcci.or.jp)
Received: from nx-note (m14.matsumoto.ne.jp [202.219.91.214]) by mccisv3.mcci.or.jp (8.7.3 Version 1.1 Build 566/8.7.3) with SMTP id AAA00184 for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 23 Sep 1998 00:35:23 +0900 (JST)
From: "M.Kubozoe" <forest@po.mcci.or.jp>
To: "FreeBSD Q&A" <FreeBSD-users-jp@jp.FreeBSD.org>
Date: Wed, 23 Sep 1998 00:31:18 +0900
Message-ID: <01bde63e$3a6b18e0$0b01a8c0@nx-note>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_001E_01BDE689.AA52C0E0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: FreeBSD-users-jp 33199
Subject: [FreeBSD-users-jp 33199] question!
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

This is a multi-part message in MIME format.

------=_NextPart_000_001E_01BDE689.AA52C0E0
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit

$B5!<o$O(BLet'sNote$B!!(BALN2T520
MMX200
32M
NeoMagic
800*600
(I60HY$B:F9=C[$K$F(I:]J_2Y$B!J(Bmake$B!K(I4W0$B$K$J$C$F$7$^$&!#(B
(I2]=D0Y$B$O(BR$B!%#2!%#2!%#6$G$9!#(I2]=D0Y$B8e$N@_Dj$K$F(BPC(I60D^$B$K$F(I60HYJ_/A$B$"$F$r$7$F$$(B
$B$^$9!#(B
(I:]L(8^$B$NFbMF$O0J2<$N$H$*$j$G$9!#(B

# Sample Laptop Configuration
# for lenlen.ntc.keio.ac.jp (Toshiba Libretto 50CT)
# Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
#
# Note: wlp and scc drivers are not configured without
# without installing these drivers (because they make
# the size of sys.patch in PAO-boot.flp larger).
#
machine  "i386"
#cpu  "I386_CPU"
#cpu  "I486_CPU"
cpu  "I586_CPU"
cpu  "I686_CPU"
ident  forest
maxusers 10
options  MATH_EMULATE  #Support for x87 emulation
options  INET   #InterNETworking
options  FFS   #Berkeley Fast Filesystem
options  NFS   #Network Filesystem
options  MFS   #Memory Filesystem
options  MSDOSFS   #MSDOS Filesystem
options  "CD9660"  #ISO 9660 Filesystem
options  PROCFS   #Process filesystem
options  "COMPAT_43"  #Compatible with BSD 4.3 [KEEP THIS!]
options  "SCSI_DELAY=15"  #Be pessimistic about Joe SCSI device
options  BOUNCE_BUFFERS  #include support for DMA bounce buffers
options  UCONSOLE  #Allow users to grab the console
options  FAILSAFE  #Be conservative
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor
options  SYSVSHM
options  SYSVSEM
options  SYSVMSG
# laptop-specific configuration
options  LAPTOP
# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).
# PC-card suspend/resume support (experimental)
options  APM_PCCARD_RESUME
options  PCIC_RESUME_RESET
# Keep power for serial cards when the system suspends
# (If your machine hangs up when you try to suspend the system with
#  FAX/Modem PCMCIA card, uncomment this option).
#options SIO_SUSP_KEEP_PWR
# Detach SCSI devices when the SCSI card is removed
options  SCSI_DETACH
# Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz
# band that US version uses.  If you want to use Japanese version of
# WaveLAN, uncomment this line, or edit the corresponding config entry
# of /etc/pccard.conf.
#options "WAVELAN_PCMCIA_24"
# Suspend the system when the battery status is "Low"
#options "APM_BATT_LOW_SUSPEND"
# If you want to use NTP on laptop machines, uncomment the following
# option.  Current APM implementation affects NTP client.
#options "APM_NO_CLOCK_ADJUST"
# Some X-servers cannot survive suspend/resume on laptop.
# This option kicks her when the system is resumed from suspended mode.
#options SYSCONS_VTY_RESUME

config  kernel root on wd0
controller isa0
#controller eisa0
controller pci0
# Dont remove these two lines!
pseudo-device card 1
device  pcic0   at isa? port 0x3e0 irq 5 vector pcicintr
device  pcic1   at isa? port 0x3e2 # for HiNote Ultra II
device  pcic1   at isa? port 0x3e4
# If your machine says that PC-cards are inserted and removed frequently
# even if you don't insert or remove the cards, please try to specify
# the IRQ of PCIC explicitly.
#options "PCIC_IRQ=12"  # for machines with serial trackball
#options "PCIC_IRQ=0"  # zero means no IRQ mode
# Some PCMCIA-PCI bridge has peculiar I/O address (default: 0x3e0).
# If you want to specify I/O address explicitly, uncomment and edit the
# following line (for example, I/O address of PCMCIA bridge of SOTEC
# Winbook Quattro/V is 0x3000).  To know this value, please read the
# manual of your laptop or device property of PCMCIA bridge from
# Windows95's device control panel.
#options "PCIC_IO=0x3000" # for Sotec Winbook Quattro/V
# This option might be usefule for those who has a PCI-ISA bridge that
# is capable of IRQ routing and BIOS that properly configures it.
# Assumes this condition, one could possibly use IRQ9 and IRQ10, which
# CLPD6701 Interrupt Deserializer cannot handle.
# We can't blindly assume this condition, this option is turned off by
# default.
#options  "PCIC_CLPD6832_NO_EXPLICIT_ISA_IRQ"
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk  fd0 at fdc0 drive 0
disk  fd1 at fdc0 drive 1
tape  ft0 at fdc0 drive 2
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk  wd0 at wdc0 drive 0
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
disk  wd1 at wdc1 drive 0
controller wdc2 at isa? disable port "IO_WD2" bio irq 15 vector wdintr
disk  wd2 at wdc2 drive 0
controller wdc3 at isa? disable port "IO_WD2" bio irq 15 vector wdintr
disk  wd3 at wdc3 drive 0
options         ATAPI  #Enable ATAPI support for IDE bus
options  ATAPI_STATIC #Don't do it as an LKM
device          wcd0    #IDE CD-ROM
#device  wfd0 #LS-120
#controller ncr0
#controller ahb0
#controller ahc0
#controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
controller aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
controller spc0 at isa? port 0x320 bio irq 11 iomem 0xd0000 flags 0x01
vector spcintr
# Future domain and Q-logic PC-card SCSI drivers
#  ported from NetBSD/pc98 (based on NetBSD 1.2)
options  SCSI_LOW # XXX: for ncv? and stg? driver
controller ncv0 at isa? port 0x320 bio irq 5 vector ncvintr
controller stg0 at isa? port 0x320 bio irq 5 vector stgintr
controller scbus0
device  sd0
device  od0 #See LINT for possible `od' options
device  st0
device  cd0 #Only need one of these, the code dynamically grows
#device  wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device  mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
#controller matcd0 at isa? port 0x230 bio
#device  scd0 at isa? port 0x230 bio
# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device  vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
#options  "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1
#options  XSERVER   # include code for XFree86
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT
lines
#options  PCVT_SCANSET=2  # IBM keyboards are non-std
# Mandatory, don't remove
device  npx0 at isa? port "IO_NPX" flags 0x01 irq 13 vector npxintr
#
# Laptop support (see LINT for more options)
#
device  apm0    at isa?  # Advanced Power Management
options  APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS
device  sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device  sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device  sio2 at isa? port "IO_COM3" tty irq 5 vector siointr
device  sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
device  sio4 at isa? disable port "IO_COM3" tty irq 5 vector siointr
device  lpt0 at isa? port? tty irq 7 vector lptintr
device  lpt1 at isa? port? tty
#device  mse0 at isa? port 0x23c tty irq 5 vector mseintr
#device  psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector
psmintr
device  psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
#device fxp0
#device vx0
device cnw0 at isa? port 0x300 net irq 5 vector cnwintr
#device cnw1 at isa? disable port 0x300 net irq 5 vector cnwintr
device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
device ed1 at isa? disable port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
device ep0 at isa? port 0x300 net irq 10 vector epintr
device ep1 at isa? disable port 0x300 net irq 10 vector epintr
device fe0 at isa? port 0x300 net irq 10 vector feintr
device fe1 at isa? disable port 0x300 net irq 10 vector feintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector
ixintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
device sn0 at isa? port 0x300 net irq 10 vector snintr
device sn1 at isa? disable port 0x300 net irq 10 vector snintr
#device wlp0 at isa? port 0x300 net irq 11 vector wlpintr
#device wlp1 at isa? disable port 0x300 net irq 11 vector wlpintr
# do not enable ze0 and zp0 (these devices are obsolete)
##device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
##device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
# IBM Smart Capture PCMCIA card
#device scc0 at isa? port 0x240 irq 10 iomem 0xd4000 vector sccintr
#device scc1 at isa? disable port 0x244 irq 11 iomem 0xd8000 vector sccintr
# Hitachi microcomputer system Speach Synthesizer card
#device hss0     at isa? port?
#device hss1     at isa? port?
# PCMCIA Joystick
#device  joy0 at isa? port "IO_GAME"
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 1
# DHCP uses BPF (Berkeley Packet Filter)
pseudo-device   bpfilter        4
# ijppp uses tun instead of ppp device
#pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip  # Exec gzipped a.out's
pseudo-device vn  #Vnode driver (turns a file into a device)
options  DDB
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
#options KTRACE  #kernel tracing


(I4W0R/>0<^$B$O0J2<$NDL$j$G$9!#(B

$B>JN,(B
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith  -nostdinc -I-
 -I. -I../.. -I../../../include -DAPM_BROKEN_STATCLOCK -DSCSI_LOW -DSCSI_DET
ACH -DPCIC_RESUME_RESET -DAPM_PCCARD_RESUME -DLAPTOP -DFAILSAFE -DCOMPAT_43 
-DMSDOSFS -DMFS -DNFS -DFFS -DINET -DKERNEL  ../../pccard/pccard.c$B!'(B140$B!'!!(B
warning$B!'!!(Bno$B!!(Bprevious$B!!(Bprototype$B!!(Bfor$B!!(B'pccard_driver_init'
../../pccard/pccard.c$B!'!!(BIn$B!!(Bfunction$B!!(B'crdioctl':
../../pccard/pccard.c$B!'(B1132$B!'!!(Bvoid$B!!(Bvalue$B!!(Bnot$B!!(Bignored$B!!(Bas$B!!(Bit$B!!(Bought$B!!(Bto
$B!!(Bbe
*** Error code 1

Stop$B!%(B

driver.h----
enum beepstate { BEEP_ON, BEEP_OFF };
void pccard_insert_beep __P((void));
void pccard_remove_beep __P((void));
void pccard_success_beep __P((void));
void pccard_failure_beep __P((void));
void pccard_beep_select __P((enum beepstate));$B!!!!"+(B

$BDj5AJ8$,(Bvoid$B$K$J$C$F$$$^$7$?!"C/$+$*65$(2<$5$$$*4j$$$7$^$9!#(B

forest@po.mcci.or.jp   Kubozoe

------=_NextPart_000_001E_01BDE689.AA52C0E0
Content-Type: text/html;
	charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3D"text/html; charset=3DcsISO2022JP" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT color=3D#000000 face=3D"" =
size=3D2>=1B$B5!<o$O=1B(BLet'sNote=1B$B!!=1B(BALN2T520</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>MMX200</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>32M</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>NeoMagic</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>800*600</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""=20
size=3D2>=1B(I60HY=1B$B:F9=3DC[$K$F=1B(I:]J_2Y=1B$B!J=1B(Bmake=1B$B!K=1B(=
I4W0=1B$B$K$J$C$F$7$^$&!#=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT><FONT=20
size=3D2>=1B(I2]=3DD0Y=1B$B$O=1B(BR=1B$B!%#2!%#2!%#6$G$9!#=1B(I2]=3DD0Y=1B=
$B8e$N@_Dj$K$F=1B(BPC=1B(I60D^=1B$B$K$F=1B(I60HYJ_/A=1B$B$"$F$r$7$F$$$^$9=
!#=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" =
size=3D2>=1B(I:]L(8^=1B$B$NFbMF$O0J2<$N$H$*$j$G$9!#=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Sample Laptop =
Configuration<BR># for=20
lenlen.ntc.keio.ac.jp (Toshiba Libretto 50CT)<BR># Tatsumi Hosokawa =
&lt;<A=20
href=3D"mailto:hosokawa@jp.FreeBSD.org">hosokawa@jp.FreeBSD.org</A>&gt;<B=
R>#<BR>#=20
Note: wlp and scc drivers are not configured without<BR># without =
installing=20
these drivers (because they make<BR># the size of sys.patch in =
PAO-boot.flp=20
larger).<BR>#</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>machine&nbsp;=20
&quot;i386&quot;<BR>#cpu&nbsp; &quot;I386_CPU&quot;<BR>#cpu&nbsp;=20
&quot;I486_CPU&quot;<BR>cpu&nbsp; &quot;I586_CPU&quot;<BR>cpu&nbsp;=20
&quot;I686_CPU&quot;<BR>ident&nbsp; forest<BR>maxusers =
10</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>options&nbsp; =
MATH_EMULATE&nbsp;=20
#Support for x87 emulation<BR>options&nbsp; INET&nbsp;&nbsp;=20
#InterNETworking<BR>options&nbsp; FFS&nbsp;&nbsp; #Berkeley Fast=20
Filesystem<BR>options&nbsp; NFS&nbsp;&nbsp; #Network =
Filesystem<BR>options&nbsp;=20
MFS&nbsp;&nbsp; #Memory Filesystem<BR>options&nbsp; MSDOSFS&nbsp;&nbsp; =
#MSDOS=20
Filesystem<BR>options&nbsp; &quot;CD9660&quot;&nbsp; #ISO 9660=20
Filesystem<BR>options&nbsp; PROCFS&nbsp;&nbsp; #Process=20
filesystem<BR>options&nbsp; &quot;COMPAT_43&quot;&nbsp; #Compatible with =
BSD 4.3=20
[KEEP THIS!]<BR>options&nbsp; &quot;SCSI_DELAY=3D15&quot;&nbsp; #Be =
pessimistic=20
about Joe SCSI device<BR>options&nbsp; BOUNCE_BUFFERS&nbsp; #include =
support for=20
DMA bounce buffers<BR>options&nbsp; UCONSOLE&nbsp; #Allow users to grab =
the=20
console<BR>options&nbsp; FAILSAFE&nbsp; #Be =
conservative<BR>options&nbsp;=20
USERCONFIG&nbsp; #boot -c editor<BR>options&nbsp; VISUAL_USERCONFIG =
#visual boot=20
-c editor</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>options&nbsp; =
SYSVSHM<BR>options&nbsp;=20
SYSVSEM<BR>options&nbsp; SYSVMSG</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># laptop-specific=20
configuration<BR>options&nbsp; LAPTOP</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># If your laptop have not =
had=20
Windoze95-Ready BIOS, please update it.<BR># Such old BIOS'es sometimes =
have=20
critical bugs at 32-bit protected<BR># mode APM BIOS interface (which =
have not=20
used by Windoze 3.1).</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># PC-card suspend/resume =
support=20
(experimental)<BR>options&nbsp; APM_PCCARD_RESUME<BR>options&nbsp;=20
PCIC_RESUME_RESET</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Keep power for serial =
cards when the=20
system suspends<BR># (If your machine hangs up when you try to suspend =
the=20
system with<BR>#&nbsp; FAX/Modem PCMCIA card, uncomment this=20
option).<BR>#options=20
SIO_SUSP_KEEP_PWR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>&nbsp;<=
/DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Detach SCSI devices when =
the SCSI card=20
is removed<BR>options&nbsp; SCSI_DETACH</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Japanese version of =
WaveLAN PCMCIA=20
uses 2.4GHz band instead of 915MHz<BR># band that US version uses.&nbsp; =
If you=20
want to use Japanese version of<BR># WaveLAN, uncomment this line, or =
edit the=20
corresponding config entry<BR># of /etc/pccard.conf.<BR>#options=20
&quot;WAVELAN_PCMCIA_24&quot;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Suspend the system when =
the battery=20
status is &quot;Low&quot;<BR>#options=20
&quot;APM_BATT_LOW_SUSPEND&quot;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># If you want to use NTP =
on laptop=20
machines, uncomment the following <BR># option.&nbsp; Current APM =
implementation=20
affects NTP client.<BR>#options=20
&quot;APM_NO_CLOCK_ADJUST&quot;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Some X-servers cannot =
survive=20
suspend/resume on laptop.<BR># This option kicks her when the system is =
resumed=20
from suspended mode.<BR>#options SYSCONS_VTY_RESUME</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2><BR>config&nbsp; kernel =
root on=20
wd0&nbsp;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>controller =
isa0<BR>#controller=20
eisa0<BR>controller pci0</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Dont remove these two=20
lines!<BR>pseudo-device card 1<BR>device&nbsp; pcic0&nbsp;&nbsp; at isa? =
port=20
0x3e0 irq 5 vector pcicintr<BR>device&nbsp; pcic1&nbsp;&nbsp; at isa? =
port 0x3e2=20
# for HiNote Ultra II<BR>device&nbsp; pcic1&nbsp;&nbsp; at isa? port=20
0x3e4</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># If your machine says =
that PC-cards are=20
inserted and removed frequently<BR># even if you don't insert or remove =
the=20
cards, please try to specify<BR># the IRQ of PCIC =
explicitly.<BR>#options=20
&quot;PCIC_IRQ=3D12&quot;&nbsp; # for machines with serial =
trackball<BR>#options=20
&quot;PCIC_IRQ=3D0&quot;&nbsp; # zero means no IRQ =
mode</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Some PCMCIA-PCI bridge =
has peculiar=20
I/O address (default: 0x3e0).&nbsp; <BR># If you want to specify I/O =
address=20
explicitly, uncomment and edit the<BR># following line (for example, I/O =
address=20
of PCMCIA bridge of SOTEC <BR># Winbook Quattro/V is 0x3000).&nbsp; To =
know this=20
value, please read the<BR># manual of your laptop or device property of =
PCMCIA=20
bridge from<BR># Windows95's device control panel.<BR>#options=20
&quot;PCIC_IO=3D0x3000&quot; # for Sotec Winbook =
Quattro/V</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># This option might be =
usefule for those=20
who has a PCI-ISA bridge that<BR># is capable of IRQ routing and BIOS =
that=20
properly configures it.<BR># Assumes this condition, one could possibly =
use IRQ9=20
and IRQ10, which<BR># CLPD6701 Interrupt Deserializer cannot =
handle.<BR># We=20
can't blindly assume this condition, this option is turned off by<BR>#=20
default.<BR>#options&nbsp;=20
&quot;PCIC_CLPD6832_NO_EXPLICIT_ISA_IRQ&quot;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>controller fdc0 at isa? =
port=20
&quot;IO_FD1&quot; bio irq 6 drq 2 vector fdintr<BR>disk&nbsp; fd0 at =
fdc0 drive=20
0<BR>disk&nbsp; fd1 at fdc0 drive 1<BR>tape&nbsp; ft0 at fdc0 drive=20
2</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>controller wdc0 at isa? =
port=20
&quot;IO_WD1&quot; bio irq 14 vector wdintr<BR>disk&nbsp; wd0 at wdc0 =
drive=20
0</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>controller wdc1 at isa? =
port=20
&quot;IO_WD2&quot; bio irq 15 vector wdintr<BR>disk&nbsp; wd1 at wdc1 =
drive=20
0</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>controller wdc2 at isa? =
disable port=20
&quot;IO_WD2&quot; bio irq 15 vector wdintr<BR>disk&nbsp; wd2 at wdc2 =
drive=20
0</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>controller wdc3 at isa? =
disable port=20
&quot;IO_WD2&quot; bio irq 15 vector wdintr<BR>disk&nbsp; wd3 at wdc3 =
drive=20
0</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D""=20
size=3D2>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
ATAPI&nbsp;=20
#Enable ATAPI support for IDE bus<BR>options&nbsp; ATAPI_STATIC #Don't =
do it as=20
an LKM</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D""=20
size=3D2>device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
wcd0&nbsp;&nbsp;&nbsp; #IDE CD-ROM<BR>#device&nbsp; wfd0=20
#LS-120</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>#controller =
ncr0<BR>#controller=20
ahb0<BR>#controller ahc0</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>#controller bt0 at isa? =
port=20
&quot;IO_BT0&quot; bio irq ? vector bt_isa_intr<BR>#controller uha0 at =
isa? port=20
&quot;IO_UHA0&quot; bio irq ? drq 5 vector uhaintr<BR>#controller aha0 =
at isa?=20
port &quot;IO_AHA0&quot; bio irq ? drq 5 vector ahaintr<BR>controller=20
aic0&nbsp;&nbsp;&nbsp; at isa? port 0x340 bio irq 11 vector=20
aicintr<BR>#controller nca0 at isa? port 0x1f88 bio irq 10 vector=20
ncaintr<BR>#controller nca1 at isa? port 0x350 bio irq 5 vector=20
ncaintr<BR>#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 =
vector=20
seaintr<BR>controller spc0 at isa? port 0x320 bio irq 11 iomem 0xd0000 =
flags=20
0x01 vector spcintr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Future domain and =
Q-logic PC-card SCSI=20
drivers <BR>#&nbsp; ported from NetBSD/pc98 (based on NetBSD=20
1.2)<BR>options&nbsp; SCSI_LOW # XXX: for ncv? and stg? =
driver<BR>controller=20
ncv0 at isa? port 0x320 bio irq 5 vector ncvintr<BR>controller stg0 at =
isa? port=20
0x320 bio irq 5 vector stgintr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>controller =
scbus0</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>device&nbsp; =
sd0</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>device&nbsp; od0 #See LINT =
for possible=20
`od' options</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>device&nbsp; =
st0</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>device&nbsp; cd0 #Only =
need one of=20
these, the code dynamically grows</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>#device&nbsp; wt0 at isa? =
port 0x300 bio=20
irq 5 drq 1 vector wtintr<BR>#device&nbsp; mcd0 at isa? port 0x300 bio =
irq 10=20
vector mcdintr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>#controller matcd0 at isa? =
port 0x230=20
bio</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>#device&nbsp; scd0 at isa? =
port 0x230=20
bio</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># syscons is the default =
console driver,=20
resembling an SCO console<BR>device&nbsp; sc0 at isa? port =
&quot;IO_KBD&quot;=20
tty irq 1 vector scintr<BR># Enable this and PCVT_FREEBSD for pcvt vt220 =

compatible console driver<BR>#device&nbsp; vt0 at isa? port =
&quot;IO_KBD&quot;=20
tty irq 1 vector pcrint<BR>#options&nbsp; &quot;PCVT_FREEBSD=3D210&quot; =
# pcvt=20
running on FreeBSD 2.1<BR>#options&nbsp; XSERVER&nbsp;&nbsp; # include =
code for=20
XFree86<BR># If you have a ThinkPAD, uncomment this along with the rest =
of the=20
PCVT lines<BR>#options&nbsp; PCVT_SCANSET=3D2&nbsp; # IBM keyboards are=20
non-std</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Mandatory, don't=20
remove<BR>device&nbsp; npx0 at isa? port &quot;IO_NPX&quot; flags 0x01 =
irq 13=20
vector npxintr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>#<BR># Laptop support (see =
LINT for more=20
options)<BR>#<BR>device&nbsp; apm0&nbsp;&nbsp;&nbsp; at isa?&nbsp; # =
Advanced=20
Power Management<BR>options&nbsp; APM_BROKEN_STATCLOCK # Workaround some =
buggy=20
APM BIOS</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>device&nbsp; sio0 at isa? =
port=20
&quot;IO_COM1&quot; tty irq 4 vector siointr<BR>device&nbsp; sio1 at =
isa? port=20
&quot;IO_COM2&quot; tty irq 3 vector siointr<BR>device&nbsp; sio2 at =
isa? port=20
&quot;IO_COM3&quot; tty irq 5 vector siointr<BR>device&nbsp; sio3 at =
isa?=20
disable port &quot;IO_COM4&quot; tty irq 9 vector =
siointr<BR>device&nbsp; sio4=20
at isa? disable port &quot;IO_COM3&quot; tty irq 5 vector=20
siointr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>device&nbsp; lpt0 at isa? =
port? tty irq=20
7 vector lptintr<BR>device&nbsp; lpt1 at isa? port? tty<BR>#device&nbsp; =
mse0 at=20
isa? port 0x23c tty irq 5 vector mseintr<BR>#device&nbsp; psm0 at isa? =
disable=20
port &quot;IO_KBD&quot; conflicts tty irq 12 vector =
psmintr<BR>device&nbsp; psm0=20
at isa? port &quot;IO_KBD&quot; conflicts tty irq 12 vector psmintr =
<BR># Order=20
is important here due to intrusive probes, do *not* alphabetize<BR># =
this list=20
of network interfaces until the probes have been fixed.<BR># Right now =
it=20
appears that the ie0 must be probed before ep0. See<BR># revision 1.20 =
of this=20
file.<BR>#device de0<BR>#device fxp0<BR>#device vx0<BR>device cnw0 at =
isa? port=20
0x300 net irq 5 vector cnwintr<BR>#device cnw1 at isa? disable port =
0x300 net=20
irq 5 vector cnwintr<BR>device ed0 at isa? port 0x280 net irq&nbsp; 5 =
iomem=20
0xd8000 vector edintr<BR>device ed1 at isa? disable port 0x300 net =
irq&nbsp; 5=20
iomem 0xd8000 vector edintr<BR>#device ie0 at isa? port 0x360 net =
irq&nbsp; 7=20
iomem 0xd0000 vector ieintr<BR>device ep0 at isa? port 0x300 net irq 10 =
vector=20
epintr<BR>device ep1 at isa? disable port 0x300 net irq 10 vector=20
epintr<BR>device fe0 at isa? port 0x300 net irq 10 vector =
feintr<BR>device fe1=20
at isa? disable port 0x300 net irq 10 vector feintr<BR>#device ix0 at =
isa? port=20
0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr<BR>#device le0 =
at isa?=20
port 0x300 net irq 5 iomem 0xd0000 vector le_intr<BR>#device lnc0 at =
isa? port=20
0x280 net irq 10 drq 0 vector lncintr<BR>device sn0 at isa? port 0x300 =
net irq=20
10 vector snintr<BR>device sn1 at isa? disable port 0x300 net irq 10 =
vector=20
snintr<BR>#device wlp0 at isa? port 0x300 net irq 11 vector =
wlpintr<BR>#device=20
wlp1 at isa? disable port 0x300 net irq 11 vector =
wlpintr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># do not enable ze0 and =
zp0 (these=20
devices are obsolete)<BR>##device ze0 at isa? port 0x300 net irq 5 iomem =
0xd8000=20
vector zeintr<BR>##device zp0 at isa? port 0x300 net irq 10 iomem =
0xd8000 vector=20
zpintr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># IBM Smart Capture PCMCIA =

card<BR>#device scc0 at isa? port 0x240 irq 10 iomem 0xd4000 vector=20
sccintr<BR>#device scc1 at isa? disable port 0x244 irq 11 iomem 0xd8000 =
vector=20
sccintr</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># Hitachi microcomputer =
system Speach=20
Synthesizer card<BR>#device hss0&nbsp;&nbsp;&nbsp;&nbsp; at isa?=20
port?<BR>#device hss1&nbsp;&nbsp;&nbsp;&nbsp; at isa? =
port?</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># PCMCIA =
Joystick<BR>#device&nbsp; joy0=20
at isa? port &quot;IO_GAME&quot;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>pseudo-device =
loop<BR>pseudo-device=20
ether<BR>pseudo-device log<BR>pseudo-device sl 1<BR># DHCP uses BPF =
(Berkeley=20
Packet Filter)<BR>pseudo-device&nbsp;&nbsp;=20
bpfilter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4<BR># ijppp uses tun =
instead=20
of ppp device<BR>#pseudo-device ppp 1<BR>pseudo-device tun =
1<BR>pseudo-device=20
pty 16<BR>pseudo-device gzip&nbsp; # Exec gzipped =
a.out's<BR>pseudo-device=20
vn&nbsp; #Vnode driver (turns a file into a device)</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>options&nbsp; =
DDB</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2># KTRACE enables the =
system-call tracing=20
facility ktrace(2).<BR># This adds 4 KB bloat to your kernel, and =
slightly=20
increases<BR># the costs of each syscall.<BR>#options KTRACE&nbsp; =
#kernel=20
tracing<BR></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" =
size=3D2>=1B(I4W0R/>0<^=1B$B$O0J2<$NDL$j$G$9!#=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT><FONT =
color=3D#000000 face=3D""=20
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" =
size=3D2>=1B$B>JN,=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>cc -c -O -Wreturn-type =
-Wcomment=20
-Wredundant-decls -Wimplicit&nbsp; -Wnested-externs -Wstrict-prototypes=20
-Wmissing-prototypes&nbsp; -Wpointer-arith&nbsp; -nostdinc -I- -I. =
-I../..=20
-I../../../include -DAPM_BROKEN_STATCLOCK -DSCSI_LOW -DSCSI_DETACH=20
-DPCIC_RESUME_RESET -DAPM_PCCARD_RESUME -DLAPTOP -DFAILSAFE -DCOMPAT_43=20
-DMSDOSFS -DMFS -DNFS -DFFS -DINET -DKERNEL&nbsp;=20
../../pccard/pccard.c=1B$B!'=1B(B140=1B$B!'!!=1B(Bwarning=1B$B!'!!=1B(Bno=
=1B$B!!=1B(Bprevious=1B$B!!=1B(Bprototype=1B$B!!=1B(Bfor=1B$B!!=1B(B'pcca=
rd_driver_init'</FONT></DIV>
<DIV><FONT =
size=3D2>../../pccard/pccard.c=1B$B!'!!=1B(BIn=1B$B!!=1B(Bfunction=1B$B!!=
=1B(B'crdioctl'</FONT>:</DIV>
<DIV><FONT=20
size=3D2>../../pccard/pccard.c=1B$B!'=1B(B1132=1B$B!'!!=1B(Bvoid=1B$B!!=1B=
(Bvalue=1B$B!!=1B(Bnot=1B$B!!=1B(Bignored=1B$B!!=1B(Bas=1B$B!!=1B(Bit=1B$=
B!!=1B(Bought=1B$B!!=1B(Bto=1B$B!!=1B(Bbe</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>*** Error code =
1</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" =
size=3D2>Stop=1B$B!%=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>driver.h----</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>enum beepstate { BEEP_ON, =
BEEP_OFF=20
};</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>void pccard_insert_beep=20
__P((void));<BR>void pccard_remove_beep __P((void));<BR>void =
pccard_success_beep=20
__P((void));<BR>void pccard_failure_beep __P((void));<BR>void =
pccard_beep_select=20
__P((enum beepstate));=1B$B!!!!=1B(B&larr;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D""=20
size=3D2>=1B$BDj5AJ8$,=1B(Bvoid=1B$B$K$J$C$F$$$^$7$?!"C/$+$*65$(2<$5$$$*4=
j$$$7$^$9!#=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2><A=20
href=3D"mailto:forest@po.mcci.or.jp">forest@po.mcci.or.jp</A><FONT=20
color=3D#000000>&nbsp;&nbsp; =
Kubozoe</FONT></FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_001E_01BDE689.AA52C0E0--

