From owner-freebsd-current Fri Dec 11 23:08:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26465 for freebsd-current-outgoing; Fri, 11 Dec 1998 23:08:53 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26438 for ; Fri, 11 Dec 1998 23:08:48 -0800 (PST) (envelope-from sanpei@sanpei.org) Received: from lavender.sanpei.org (u4168.seaple.icc.ne.jp [203.140.32.168]) by titanium.yy.ics.keio.ac.jp (8.8.8+3.0Wbeta13/3.7W) with ESMTP id QAA04867; Sat, 12 Dec 1998 16:06:56 +0900 (JST) Received: (from sanpei@localhost) by lavender.sanpei.org (8.8.8/3.6W) id QAA22991; Sat, 12 Dec 1998 16:06:54 +0900 (JST) Message-Id: <199812120706.QAA22991@lavender.sanpei.org> To: mike@smith.net.au Cc: current@FreeBSD.ORG Subject: Re: PAO Integration? In-Reply-To: Your message of "Thu, 10 Dec 1998 08:54:30 JST". <199812092354.PAA01185@dingo.cdrom.com> Date: Sat, 12 Dec 1998 16:06:54 +0900 From: MIHIRA Sanpei Yoshiro Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mike@smith.net.au wrote: >> > >> > Do NE2000 Compatible PCMCIA cards work under PAO3, as it is now? >> > If so, is the development snapshot available anywhere? >> >> They work fine under stock 2.2 and 3.0 (this message is being sent >> using one). Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have three NE2000 compatible PCMCIA cards. I can use two cards with FreeBSD-current which added some lines to /etc/pccard.conf, but can't use another one. Under PAO, I can use all these cards. I compare these CIS via pccardc dumpcis command. o unusable cards has memory descriptor. o usable cards does not have it. 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 ---------- Review pccardd. PAO's assign_io function in pccardd/cardd.c has related code but it's comment is ``XXX -- dirty hack for some 'ed' cards that have incomplete iomem CIS tupples.'' But FreeBSD-current's assign_io function does not have it. I think that Mike's card does not have Memory descriptor.. Is that right? Thank you. MIHIRA Yoshiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message