From owner-freebsd-mobile Sun Apr 23 8:36: 5 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 0F37B37B558; Sun, 23 Apr 2000 08:36:00 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn24.imasy.or.jp [202.227.24.216]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.04) with ESMTP id AAA21020; Mon, 24 Apr 2000 00:35:56 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) To: sanpei@sanpei.org Cc: mobile@FreeBSD.ORG, mdodd@FreeBSD.org Subject: Re: [Patch] multi io window patch for usr/sbin/pccardd In-Reply-To: <200004211238.VAA01117@lavender.yy.cs.keio.ac.jp> References: <200004211238.VAA01117@lavender.yy.cs.keio.ac.jp> X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000424003557K.iwasaki@jp.FreeBSD.org> Date: Mon, 24 Apr 2000 00:35:57 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 20000228(IM140) Lines: 53 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. Great! I've tested this patch with my ed cards and other kind of card which uses multi io (such as SunDisk) w/ no problems. > > ----- 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 i'll commit these patches 2 or 3 days later if no objections. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message