From owner-cvs-all Fri Nov 24 19:36:13 2000 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 EC72C37B4C5; Fri, 24 Nov 2000 19:36:09 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA11123; Fri, 24 Nov 2000 19:36:09 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <200011250336.TAA11123@freefall.freebsd.org> From: Peter Wemm Date: Fri, 24 Nov 2000 19:36:09 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/ed if_ed.c if_ed_pccard.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG peter 2000/11/24 19:36:09 PST Modified files: sys/conf files sys/dev/ed if_ed.c if_ed_pccard.c Log: Update the ed driver to probe and attach under a NEWCARD kernel (I was using a cardbus based system with pccbb providing the pcic interface). Something isn't quite right.. when the driver allocates and activates its resources, the IO space that was requested reads as all zeros (versus the original 0xff's as it normally is when there is no device responding). Also, deactivate the resources before releasing them. OLDCARD doesn't seem to care but NEWCARD/CARDBUS get rather unhappy if you release a resource that hasn't been deactivated yet. Make pcic_p.c only compile with oldcard kernels. Revision Changes Path 1.445 +3 -2 src/sys/conf/files 1.190 +7 -1 src/sys/dev/ed/if_ed.c 1.21 +30 -3 src/sys/dev/ed/if_ed_pccard.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message