From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Oct 17 16:49:57 1996
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) id QAA17749
	Thu, 17 Oct 1996 16:49:57 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with SMTP id QAA17744
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 17 Oct 1996 16:49:55 +0900 (JST)
Received: (from ushida@localhost) by kronos.mp.es.osaka-u.ac.jp (8.6.12+2.5Wb7/3.4Wbeta2-95061804) id QAA16611; Thu, 17 Oct 1996 16:51:47 +0900
Date: Thu, 17 Oct 1996 16:51:47 +0900
Message-Id: <199610170751.QAA16611@kronos.mp.es.osaka-u.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
In-Reply-To: Your message of Tue, 15 Oct 1996 21:34:00 +0900.
	<199610151233.VAA06550@adam.dsp.cl.nec.co.jp>
From: ushida@kronos.mp.es.osaka-u.ac.jp (Jun Ushida)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
X-Mailer: mnews [version 1.19PL2] 1996-01/26(Fri)
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 5367
Subject: [FreeBSD-users-jp 5367] [Q] ISA_PnP, modem (CommWaveV.34) (Re:[Q] Where is 'PnP ISA patch'?)
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$BBg:eBg3X$N5mED$H8@$$$^$9!#(B     $B59$7$/$*4j$$$7$^$9!#(B

$B@hF|(B ISA PnP $B$NFbB"%b%G%`$r%+!<%M%k$KG'<1$5$;$kJ}K!$K$D$$$F(B
$B<ALd$7$?<T$G$9!#$=$N:]$K(B $BJ?Ln!wF|K\EE5$(B $B$5$s$+$i!"(B

In article <199610151233.VAA06550@adam.dsp.cl.nec.co.jp>
hirano@dsp.cl.nec.co.jp writes:

|> $B$I$J$?$+(B PnP ISA $B%Q%C%A$N$"$j$+$r65$($F2<$5$$!#(B
|
|$B!!(BFreeBSD$B$rCV$$$F$$$k(BFTP$B%5%$%H$G!"(Bxperimnt/ISA_PnP$B$rC5$7$F$_$^$7$g$&!#(B

$B$H65$($FD:$-$^$7$F!"$5$C$=$/$d$C$F$_$^$7$?$,(B $B$I$&$b$&$^$/$$$-$^$;$s!#(B

$B$I$J$?$+=u$1$F$/$@$5$$!#$^$:;HMQ$7$?$$%b%G%`$O(B

   CommWave V.34 PnP Voice/Fax/Data internal (ISA, PnP, NSP/HSP)

   vender: Multiwave Innovation (Singapole)
	Block219 #05-01 Henderson Industrial Park 
        Henderson Road, Singapore 159556
	Tel:+65-276-2755 Fax:+65-276-2612

$B$G(B OS$B$O(B FreeBSD2.1.5R, $B;HMQ$7$F$$$k%^%7%s$O(B $B%*%j%8%J%k$N(BAT $B8_495!$G$9!#(B
$B$^$:!"(BFreeBSD-ISA_PnP_June8.tar.gz $B$K4^$^$l$k(BREADME$B$N;X<($K=>$C$F!"(B
patch $B$r$"$F$F!"(Bkernel $B$N(Bconfig file $B!"(Bpnp.c $B$N=q$-49$($J$I$r(B
$B9T$$$^$7$?!#$=$N$"$H%+!<%M%k$N:F9=C[$r$7$?$"$H%j%V!<%H$7$F$b(B
$B%b%G%`$OG'<1$5$l$F$$$J$$$h$&$G$9!#(B
ISA PnP $B$N%+!<%I$O$3$N%b%G%`$NB>$K(B SoundBlaster16 $B$r;H$C$F$$$^$9$,!"(B
$B%5%&%s%I%+!<%I$O(B $B%Q%C%A$r$"$F$J$/$F$bG'<1$G$-$F$$$?$N$G!"(B
$BLdBj$O%b%G%`$@$1$G$9!#(B

pnp.c $B$G$O(B irq 11, I/O address 0x3e8 (COM3) $B$r3d$jEv$F$h$&$H$7$F$$$^$9!#(B
$B$=$l$G$O$&$^$/$$$+$J$+$C$?$N$G(B $BB>$N%G%P%$%9$G;H$C$F$$$J$$(B
(irq:10, I/O address: 0x2e8(COM4))$B$b;n$7$^$7$?$,!"7k2L$OF1$8$G%@%a$G$7$?!#(B
(Mother Board $B$K(B ASUSTek P/I P55T2P4C $B$r;H$C$F$$$k$N$G(B TCOM$B#1!"(BCOM2 $B$O(B
 on board $B$N(Bport $B$H$7$F$9$G$K;HMQ$7$F$$$^$9!#(B)

$B5$$K$J$C$F$$$k$N$O(B $B$3$N%+!<%I$O(B NSP (Native Signal Process ?!?)
HSP (Host Signal Process ?!?) $B$N%+!<%I$@$H$$$&$3$H$G$9!#(B
$B%^%K%e%"%k$K$O(BNSP/HSP $B$r;H$&$H!"=>Mh$N%b%G%`$G$O%O!<%I$,$d$C$F$$$?(B
$B$3$H$r%=%U%H(B($B%I%i%$%P(B)$B$K$d$i$;$k$3$H$K$h$j!"(B 
$B%=%U%H$r%P!<%8%g%s%"%C%W$9$k$3$H$G5!G=3HD%$,$G$-$k$3$H$d!"(B
$B>CHqEENO$rM^$($k$J$I$NMxE@$,$"$k$H=q$$$F$"$j$^$7$?!#(B
$B$3$N$3$H$O:#2s$NLdBj$HD>@\$+$+$o$j$,$"$k$+$I$&$+(B $B$o$+$j$^$;$s$,!"(B
$B>/$75$$K$J$C$?$N$G(B $B0l1~=q$-$^$7$?!#(B

$B:G8e$K(B $B%+!<%M%k$N(B configuration file $B$H(B pnp.c $B$NJQ99ItJ,!"(B
pnpinfo $B$N7k2L!"%+!<%M%k:F9=C[8e$N(B dmesg $B$N7k2L$r0J2<$K<($7$^$9!#(B

$B$3$l$@$1$G$O>pJs$,B-$j$J$1$l$P(B $B65$($F$/$@$5$$!#(B

$B$=$l$G$O(B $B$I$&$>$h$m$7$/$*4j$$CW$7$^$9!#(B
-----
  Jun Ushida         Faculty of Engineering Science,  Osaka University
                     (e-mail: ushida@kronos.mp.es.osaka-u.ac.jp)     


===$B%+!<%M%k$N%3%s%U%#%0(B $B%U%!%$%k(B ($B4X78$"$k$H$3$m$@$1H4?h(B)====

controller      pnp0
# COM1 and COM2 are used on board serial port (AsusTek P/I P55T2P4C)
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
# The internal modem that I want to use.
device		sio2	at isa? port "IO_COM3" tty irq 11 vector siointr
#device		sio3	at isa? disable port "IO_COM4" tty irq 10 vector siointr
# Sound Blaster16
controller	snd0
device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
options SBC_IRQ=5
device opl0     at isa? port 0x388 conflicts

====== /usr/src/sys/i386/isa/pnp.c ($B4X78$"$k$H$3$m$@$1H4?h(B)======

  /* Configuration for the SoundBlaster 16 PnP */
  {
	0x00039886,             /* Serial Number */
		 0,             /* Logical Device Number */
	{
		{  5, -1 },     /* Primary IRQ Number, Type */
		{ -1, -1 }      /* Second  IRQ Number, Type */
	},
	{ 1, 5 },               /* DRQ Number */
	{
		0x220,          /* Ports 1 */
		0x330,          /* Ports 2 */
		0x388,          /* Ports 3 */
		   -1,          /* Ports 4 */
		   -1,          /* Ports 5 */
		   -1,          /* Ports 6 */
		   -1,          /* Ports 7 */
		   -1,          /* Ports 8 */
	},
	{
		{ -1, -1, -1 }, /* Memory desc0 - base, ctrl, range */
		{ -1, -1, -1 }, /* Memory desc1 - base, ctrl, range */
		{ -1, -1, -1 }, /* Memory desc2 - base, ctrl, range */
		{ -1, -1, -1 }  /* Memory desc3 - base, ctrl, range */ 
	}
      },
/* Configuration for the CommWave V.34PNP Data/Fax/Voice Modem */
	{
		0x01000000, 		/* Serial Number */
		          1,		/* Logical Device Number */
		{
			{ 11 , -1 },	/* Primary IRQ Number, Type */
			{ -1, -1 }	/* Second  IRQ Number, Type */
		},
		{ -1, -1 },		/* DRQ Number */
		{
			0x3e8,		/* Ports 1 */
			   -1,		/* Ports 2 */
			   -1, 		/* Ports 3 */
			   -1,		/* Ports 4 */
			   -1,		/* Ports 5 */
			   -1,		/* Ports 6 */
			   -1,		/* Ports 7 */
			   -1,		/* Ports 8 */
		},
		{
			{ -1, -1, -1 },	/* Memory desc0 - base, ctrl, range */
			{ -1, -1, -1 },	/* Memory desc1 - base, ctrl, range */
			{ -1, -1, -1 },	/* Memory desc2 - base, ctrl, range */
			{ -1, -1, -1 }	/* Memory desc3 - base, ctrl, range */ 
		}

	 }
};
 
====== 'pnpinfo' $B$N7k2L(B =========
Checking for Plug-n-Play devices...
Trying Read_Port at 203
Trying Read_Port at 243
Card assigned CSN #1
Board Vendor ID: CTL0024
Board Serial Number: 00039886
PnP Version: 1.0
Vendor Version: 16
Device Description: Creative SB16 PnP
Logical Device ID: CTL0031 (31008c0e)
Device Description: Audio
Start Dependent Function
Good Configuration
      :
    $BCfN,(B
      :
End Tag

Card assigned CSN #2
Board Vendor ID: PCP2880
Board Serial Number: 01000000
PnP Version: 1.0
Vendor Version: 0
Device Description: CommWave V.34PNP Data/Fax/Voice Modem
Logical Device ID: PCT2880 (80287440)
Device supports I/O Range Check
Start Dependent Function
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x3e8
I/O Range maximum address: 0x3e8
I/O alignment for minimum: 8
I/O length: 8
IRQ: 3 4 5 7 8 9 10 11 
Start Dependent Function
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x2e8
I/O Range maximum address: 0x2e8
I/O alignment for minimum: 8
I/O length: 8
IRQ: 3 4 5 7 8 9 10 11 
Start Dependent Function
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x2f8
I/O Range maximum address: 0x2f8
I/O alignment for minimum: 8
I/O length: 8
IRQ: 3 4 5 7 8 9 10 11 
Start Dependent Function
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x3f8
I/O Range maximum address: 0x3f8
I/O alignment for minimum: 8
I/O length: 8
IRQ: 3 4 5 7 8 9 10 11 
End Dependent Function
End Tag


=== $B%+!<%M%k:F9=C[8e$N(Bdmesg $B$N7k2L(B ($BA4It(B)======

FreeBSD 2.1.5-RELEASE #0: Thu Oct 17 03:27:47  1996
    root@olive.domain.name:/usr/src/sys/compile/FAUST
CPU: 166-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 30896128 (30172K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82439> rev 1 on pci0:0
chip1 <Intel 82371 PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371 Bus-Master IDE controller> rev 0 on pci0:7:1
vga0 <VGA-compatible display device> rev 1 int a irq 9 on pci0:12
Checking for Plug-n-Play devices...
Board Vendor ID: CTL0024     Board Serial Number: 00039886
	Configuring (Logical Device 0)
Board Vendor ID: PCP2880     Board Serial Number: 01000000
	Configuring (Logical Device 1)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8      <---------------$B<:GT$7$F$$$k!*!*(B
psm0 at 0x60-0x63 irq 12 on motherboard
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DJAA-31700>
wd0: 1628MB (3334464 sectors), 3308 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <FX800S/R03>, removable, intr, dma, iordis
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa  <------- ($BCm(B) Sound Blaster16 $B$O(B
sb0: <SoundBlaster 16 4.13>               ISA_PnP patch $B$,$J$/$F$b(B 
opl0 at 0x388 on isa                      $BG'<1$G$-$F$$$^$7$?!#(B
opl0: <Yamaha OPL-3 FM>
