Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2000 00:35:57 +0900
From:      Mitsuru IWASAKI <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
Message-ID:  <20000424003557K.iwasaki@jp.FreeBSD.org>
In-Reply-To: <200004211238.VAA01117@lavender.yy.cs.keio.ac.jp>
References:  <200004211238.VAA01117@lavender.yy.cs.keio.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000424003557K.iwasaki>