From owner-cvs-all Fri Mar 29 0: 5:44 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 141FC37B416; Fri, 29 Mar 2002 00:05:40 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T85eF42476; Fri, 29 Mar 2002 00:05:40 -0800 (PST) (envelope-from imp) Message-Id: <200203290805.g2T85eF42476@freefall.freebsd.org> From: Warner Losh Date: Fri, 29 Mar 2002 00:05:40 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccard pccard_cis.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2002/03/29 00:05:40 PST Modified files: sys/dev/pccard pccard_cis.c Log: Improve support of MFC cards (Multi-function cards). This commit allows us to properly parse cards with attribute memory based CIS that before wouldn't parse correctly, sometimes with a panic. This allows me to get my 3C562 modem/ethernet card to fail to attach due to problems in the ep and sio drivers rather than due to problems in the CIS parsing code :-). We weren't setting the address to jump to for the function entries. This caused us to only work when the addional entries were after the first ones. On the 3C562/3C563 card this was not the case. We were also mapping Attribute memory when common memory was asked for in the target of the LONGLINK_{A,C} or LONGLINK_MFC. My IBM Home And Away Modem/LAN card still fails for reasons unknown. Revision Changes Path 1.20 +4 -2 src/sys/dev/pccard/pccard_cis.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message