From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Apr 11 14:13:04 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id OAA85591;
	Tue, 11 Apr 2000 14:13:04 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mhiguardian.mhi.co.jp (firewall-user@mhiguardian.mhi.co.jp [202.32.46.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id OAA85586
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 11 Apr 2000 14:13:03 +0900 (JST)
	(envelope-from tetsu.t@smet.nasw.mhi.co.jp)
Received: by mhiguardian.mhi.co.jp; id OAA04474; Tue, 11 Apr 2000 14:13:01 +0900
Received: from mhigw.mhi.co.jp(144.1.179.131) by mhikeeper2.mhi.co.jp via smap (3.2)
	id xma004105; Tue, 11 Apr 00 14:12:09 +0900
Received: from naswgw2.nasw.mhi.co.jp by mhigw.mhi.co.jp (8.9.3+3.2W/3.7W) id OAA20554; Tue, 11 Apr 2000 14:12:07 +0900 (JST)
Received: from smetgw.smet.nasw.mhi.co.jp by naswgw2.nasw.mhi.co.jp (8.8.8/3.6W/98052010) id OAA15066; Tue, 11 Apr 2000 14:12:03 +0900
Received: from hfs.smet.nasw.mhi.co.jp (hfs.smet.nasw.mhi.co.jp [172.18.97.5])
	by smetgw.smet.nasw.mhi.co.jp (8.9.3+3.2W/3.7W) with ESMTP id OAA03309
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 11 Apr 2000 14:12:03 +0900 (JST)
Received: from SMTP (nts [172.18.97.4])
	by hfs.smet.nasw.mhi.co.jp (8.9.3+3.2W/3.7W) with SMTP id OAA14774
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 11 Apr 2000 14:11:33 +0900 (JST)
Message-Id: <200004110511.OAA14774@hfs.smet.nasw.mhi.co.jp>
Received: from Pisces ([172.18.97.66]) by 172.18.97.4
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Tue, 11 Apr 2000 05:11:33 0000 (GMT)
X-My-Real-Login-Name: tetsu; smtp.smet.nasw.mhi.co.jp
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
X-Mailer: Denshin 8 Go V321.1b7
Date: Tue, 11 Apr 2000 14:11:31 +0900
From: Tetsuo TAKAHASHI <tetsu.t@smet.nasw.mhi.co.jp>
To: FreeBSD-users-jp@jp.freebsd.org
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 51119
Subject: [FreeBSD-users-jp 51119] 4.0-Release
 =?ISO-2022-JP?B?GyRCJE4bKEo=?= LPC-T(Melco)
 =?ISO-2022-JP?B?GyRCJE5HJzwxGyhK?= 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: tetsu.t@smet.nasw.mhi.co.jp


$B9b66$H?=$7$^$9!#(J

$B0J2<$N4D6-$G(J4.0-Release$B$r;HMQ$7$h$&$H$7$F$$$^$9!#(J
# 4.0$B$N(JCD$B$rGc$C$F$3$h$&$H;W$C$?$i!"(JUNIX User 5$B7n9f$K(JCD$B$,IU$$$F$$$?$N$G(J
# $B4r!9$H$7$F%$%s%9%H!<%k$7$F$_$?$N$G$9$,(J...

ThinkPad 315ED
BUFFALO LPC-T (PCMCIA LAN CARD)

$B%5%]!<%H$5$l$F$$$k(JPC$B%+!<%I$H$7$F!">e5-$N(JPC$B%+!<%I$"$2$i$l$F$$$?MM$J$N$G(J
$B$3$l$r:9$79~$s$@=j!"0J2<$N$h$&$J%(%i!<$,=P$^$7$?!#(J
----------------------------------------------------------------------
Apr 11 13:15:28 hoge /kernel: pccard: card inserted, slot0
Apr 11 13:15:28 hoge /kernel: pccard: card inserted, slot0
Apr 11 13:15:33 hoge pccardd[46]: Ether=00:00:e8:xx:xx:xx
Apr 11 13:15:33 hoge pccardd[46]: Ether=00:00:e8:xx:xx:xx
Apr 11 13:15:33 hoge pccardd[46]: Ether=00:00:e8:xx:xx:xx
Apr 11 13:15:33 hoge pccardd[46]: Resource allocation failure for PCMCIA
Apr 11 13:15:33 hoge pccardd[46]: Resource allocation failure for PCMCIA
Apr 11 13:15:33 hoge pccardd[46]: Resource allocation failure for PCMCIA
----------------------------------------------------------------------

/etc/pccard.conf $B$G$O!"(J
----------------------------------------------------------------------
# Melco LPC-T (PIO mode)
card "PCMCIA" "UE2212"
        config  0x1 "ed0" ? 0x10
        ether   0xff0
        insert  logger -t pccard:$device -s UE2212 inserted
        insert  /etc/pccard_ether $device
        remove  logger -t pccard:$device -s UE2212 removed
        remove  /sbin/ifconfig $device delete
----------------------------------------------------------------------
$B$H$J$C$F$$$^$9!#(J
# $B$3$l$O(J default $B$N@_Dj$N$^$^$G$9!#(J

/stand/pccardc dumpcis $B$N7k2L$O(J
----------------------------------------------------------------------
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  dc 03 ff
	Common memory device information:
		Device number 1, type Function specific, WPS = ON
		Speed = 100nS, Memory block size = 32Kb, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
    000:  53 01 ff
	Attribute memory device information:
		Device number 1, type FLASH EEPROM, WPS = OFF
		Speed = 150nS, Memory block size = 2Kb, 1 units
Tuple #3, code = 0x21 (Functional ID), length = 2
    000:  06 03
	Network/LAN adapter - POST initialize - Card has ROM
Tuple #4, code = 0x15 (Version 1 info), length = 30
    000:  04 01 50 43 4d 43 49 41 00 55 45 32 32 31 32 00
    010:  45 54 48 45 52 4e 45 54 00 52 30 31 00 ff
	Version = 4.1, Manuf = [PCMCIA], card vers = [UE2212]
	Addit. info = [ETHERNET],[R01]
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 01 00 01 01
	Reg len = 2, config register addr = 0x100, last config = 0x1
	Registers: X------- 
Tuple #6, code = 0x1b (Configuration entry), length = 25
    000:  c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04
    010:  00 00 40 0d 40 40 00 40 0d
	Config index = 0x1(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x300 block length = 0x10
		I/O address # 2: block start = 0x310 block length = 0x10
		IRQ modes: Level
		IRQs:  2 3 4 5 6 7 9 10 11 12 13 15
	Memory descriptor 1
		 blk length = 0x400 card addr = 0x000 host addr = 0xd4000
	Memory descriptor 2
		 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000
Tuple #7, code = 0x14 (No link), length = 0
Tuple #8, code = 0xff (Terminator), length = 0
----------------------------------------------------------------------

$B$G$9$N$G!"(J
        config  0x1 "ed0" ? 0x10
$B$GNI$$$H;W$C$?$N$G$9$,(J...

# $B$H$3$m$G!"(Jblock start $B$,0l$D$N(JTuple$B$K(J2$B$D$"$k$N$G$9$,!"$3$l$C$F(J
# $B$I$N$h$&$J07$$$K$J$k$N$G$7$g$&!)!)(J


$B<j85$K(J3.3 with PAO3 $B$,$"$k$N$G!"$=$l$N(J/etc/pccard.conf$B$r;29M$K$7$F(J
        config default "ed0" any 0x10
        ether 0xff0 00:00:e8
$B$H$"$k$N$G!"(Jether $B$N$H$3$m$rF1$8$K$7$F$_$?$j!"(Jconfig default
$B$K$7$F$_$?$j$7$?$N$G$9$,!">u67$OJQ$j$^$;$s!#(J
# $B$H$$$&$+!"(J"PCMCIA" "UE2212" $B$H$7$F$bG'<1$7$J$/$J$C$?(J(^-^;;


$B0l1~!"(JPC$B%+!<%I$rH4$/;~$K!"(J
----------------------------------------------------------------------
Apr 11 13:16:30 hoge /kernel: pccard: card removed, slot 0
Apr 11 13:16:30 hoge /kernel: pccard: card removed, slot 0
Apr 11 13:16:30 hoge pccard:ed0: UE2212 removed
                            ^^^
----------------------------------------------------------------------
$B$H$O!"=P$F$$$k$N$G(J ed0 $B$H$7$F$OG'<1(J(?)$B$7$F$$$k$h$&$K;W$&$N$G$9$,(J...


$B2?$+@_DjK:$l$,$"$k$h$&$J5$$b$9$k$N$G$9$,!">e5-$N2r7hJ}K!$,$"$j$^$7$?$i(J
$B$*65$(D:$1$l$P9,$$$G$9!#(J


--
// $B9b66E/IW(J<Tetsuo TAKAHASHI> [PUB] tetsu.t@el.nasw.mhi.co.jp
//                            [PSN] tetsu-t@mbd.sphere.ne.jp 


