From owner-cvs-all Sun Oct 24 19:42: 2 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 08D8D1516A; Sun, 24 Oct 1999 19:41:59 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA39599; Sun, 24 Oct 1999 19:41:59 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <199910250241.TAA39599@freefall.freebsd.org> From: Warner Losh Date: Sun, 24 Oct 1999 19:41:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/pccard driver.h pccard.c pccard_nbk.c pccard_nbk.h pcic.c pcic.h slot.h pccard_compat.c skel.c src/sys/i386/conf GENERIC LINT PCCARD files.i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk imp 1999/10/24 19:41:59 PDT Modified files: sys/conf files sys/pccard driver.h pccard.c pccard_nbk.c pccard_nbk.h pcic.c pcic.h slot.h sys/i386/conf GENERIC LINT PCCARD files.i386 Removed files: sys/pccard pccard_compat.c skel.c Log: Massive rewrite of pccard to convert it to newbus. o Gut the compatibility interface, you now must attach with newbus. o Unit numbers from pccardd are now ignored. This may change the units assigned to a card. It now uses the first available unit. o kill old skeleton code that is now obsolete. o Use newbus attachment code. o cleanup interfile dependencies some. o kill list of devices per slot. we use the device tree for what we need. o Remove now obsolete code. o The ep driver (and maybe ed) may need some config file tweaks to allow it to attach. See config files that were committed for examples on how to do this. Drivers to be commited shortly. This is an interrum fix until the new pccard. ed, ep and sio will be supported by me with this release, although others are welcome to try to support other devices before new pccard is working. I plan on doing minimal further work on this code base. Be careful when upgrading, since this code is known to work on my laptop and those of a couple others as well, but your milage may vary. BUGS TO BE FIXED: o system memory isn't allocated yet, it will be soon. o No devices actually have a pccard newbus attach in the tree. BUGS THAT MIGHT BE FIXED: o card removal, including suspend, usually hangs the system. Many thanks to Peter Wemm and Doug Rabson for helping me to fill in the missing bits of New Bus understanding at FreeBSD Con '99. Revision Changes Path 1.274 +1 -2 src/sys/conf/files 1.11 +1 -6 src/sys/pccard/driver.h 1.91 +53 -392 src/sys/pccard/pccard.c 1.8 +153 -25 src/sys/pccard/pccard_nbk.c 1.4 +1 -7 src/sys/pccard/pccard_nbk.h 1.80 +95 -334 src/sys/pccard/pcic.c 1.5 +12 -4 src/sys/pccard/pcic.h 1.19 +14 -45 src/sys/pccard/slot.h 1.197 +4 -1 src/sys/i386/conf/GENERIC 1.663 +2 -1 src/sys/i386/conf/LINT 1.22 +4 -2 src/sys/i386/conf/PCCARD 1.279 +3 -2 src/sys/i386/conf/files.i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message