From owner-freebsd-mobile Fri Oct 22 23:44:37 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id DCA2414C21; Fri, 22 Oct 1999 23:44:20 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA22001; Sat, 23 Oct 1999 00:44:18 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA27296; Sat, 23 Oct 1999 00:44:23 -0600 (MDT) Message-Id: <199910230644.AAA27296@harmony.village.org> To: mobile@freebsd.org, current@freebsd.org, committers@freebsd.org Reply-To: mobile@freebsd.org Subject: Massive pccard disruptions to continue Date: Sat, 23 Oct 1999 00:44:23 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK. I'm getting ready to commit the sio modem changes to make it work with pccard. This is a heads up that how ep is configured has changed to be more sane for pccard, and also that things may be massively unstable for a few days. That's the nature of current. I have a couple of minor issues to take care of before I actually do the commit. To summarize the changes, I killed the legacy PCCARD_MODULE macro and all things associated with it. It is not longer emulated, even in the slightest. Everything is done via newbus. This kills lots and lots lines and makes it possible for newbus attachments, and only newbus attachments. Also, pccardd no longer sets the unit number, so the unit numbers have changed. The ep driver is hit by this since it checks against NEP (this should be fixed, btw) in places. This breaks all PCCARD drivers, except those that have been converted. I've converted ep and sio. Ed will follow by me or someone else very shortly. I've also heard that people are interested in getting the pccard support for floppy as well. Look at sio or ep for a cut and paste model of how to do things. Neither is perfect, but can be used if you absolutely MUST upgrade the driver before the new pccard code can be committed, ported and stabilized. If you are dying to try out the sio patches before they make it into the tree, one can grab a snapshot I just made from http://www.freebsd.org/~imp/pccard-snap.patch [**] which contain many known problems that I'm working on correcting. I have some debug writes I need to remove, one minor issue with the message ep0: eeprom failed to come ready issued twice, but it seems to work none the less. Cards cannot be ejected for reasons unknown at this time. DO NOT RUN THESE PATCHES UNLESS YOU HAVE A BACKUP KERNEL IN CASE I'VE BROKEN YOUR LAPTOP. READ THE PATCH FOR MINOR, BUT IMPORTANT CHANGES TO HOW EP IS CONFIGURED. Many thanks to Doug Rabson and Peter Wemm for their help, patient explainations and goading while at FreeBSD Con '99. Without this, I wouldn't have been able to make this work. Thanks also to Peter for the patches that helped me understand sio's problem better and allowed me to make this work. I appologize to them that I was unable to get them done at FreeBSD CON'99. Comments to me... Warner P.S. I wish I could add pictures of the happy dance I did after seeing the many pictures of this on the FreeBSD CON pictures web site... [*] Unless absolutely necessary... [**] Keep trying if this file isn't there... I'm generating it now as I type. I'm generating them from my laptop connected via the ep driver... They may also contain other things as well, but should be fairly clean: wc pccard-snap.patch 3389 12760 91407 pccard-snap.patch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message