Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2000 21:38:52 +0900
From:      MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
To:        mobile@FreeBSD.ORG
Subject:   [Patch] multi io window patch for usr/sbin/pccardd
Message-ID:  <200004211238.VAA01117@lavender.yy.cs.keio.ac.jp>

next 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.

----- 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




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