From owner-freebsd-mobile Fri Apr 21 5:39: 6 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from oxygen.yy.ics.keio.ac.jp (oxygen.yy.ics.keio.ac.jp [131.113.47.3]) by hub.freebsd.org (Postfix) with ESMTP id BF5FD37B760 for ; Fri, 21 Apr 2000 05:39:02 -0700 (PDT) (envelope-from sanpei@sanpei.org) Received: from lavender.yy.cs.keio.ac.jp (ppp139.dialup.st.keio.ac.jp [131.113.27.139]) by oxygen.yy.ics.keio.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id VAA28717; Fri, 21 Apr 2000 21:38:54 +0900 (JST) (envelope-from sanpei@sanpei.org) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id VAA01117; Fri, 21 Apr 2000 21:38:53 +0900 (JST) Message-Id: <200004211238.VAA01117@lavender.yy.cs.keio.ac.jp> To: mobile@FreeBSD.ORG Subject: [Patch] multi io window patch for usr/sbin/pccardd X-Mailer: Mew version 1.70 on Emacs 19.34.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 21 Apr 2000 21:38:52 +0900 From: MIHIRA Sanpei Yoshiro Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi FreeBSD-mobile mailing list I have a NE2000 compatible/Ethernet PC-Card(Planex 2000). This card has multi io window like this. ----- pccardc dumpcis 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 ---------- Current usr/sbin/pccardd does not support multi io window, only support single io window. So I merged multi io window code from PAO3 into 5-current. With this patch, we can use below PC-Card/NIC(and this patch also support single io window). Accton UE2212 PLANET-SMART-COM-CREDITCARD-2000 Melco LPC-T ME-3000II Laneed LD-CDY Melco LPC3-TX http://home.jp.FreeBSD.org/~sanpei/5-current/usr.sbin-pccard-pccardd-multiio-20000421.diff P.S. But if you attach UE2212 PC-Card, you need below patch for sys/dev/ed/if_ed_pccard.c. Without below patch, it would be hang-up in ed_probe_WD80x3. And this problem was already reported to Matt Dodd-san by Warner-san. It will be fix soon :-) http://home.jp.FreeBSD.org/~sanpei/5-current/sys-dev-ed_if_ed_pccard-multiio.c-20000411.diff --- MIHIRA Sanpei Yoshiro Yokohama, Japan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message