From owner-freebsd-new-bus Wed Aug 18 0:36:33 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id E6EBF14D50; Wed, 18 Aug 1999 00:36:28 -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 BAA46616; Wed, 18 Aug 1999 01:35:07 -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 BAA18095; Wed, 18 Aug 1999 01:34:42 -0600 (MDT) Message-Id: <199908180734.BAA18095@harmony.village.org> Subject: Re: New pccard kludge patches To: Mark Murray , mobile@FreeBSD.ORG, new-bus-arch@bostonradio.org, new-bus@FreeBSD.ORG In-reply-to: Your message of "Wed, 18 Aug 1999 01:08:32 MDT." Date: Wed, 18 Aug 1999 01:34:42 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -------- : The pccard-ep part is the name of the compatibility device that I've : created. There already is an ep0 in the isa part of the tree as a : compatibility device I think... I wanted it to print the actual : device name... ... with the actual unit. I was getting ep1 when I tried it the other way. Maybe the right thing for the isa compat devices to do is to remove them as unattached children which consume unit numbers after they are probed... My current patches, not yet uploaded, generate: pccard-ep0: at port 0x240-0x248 irq 15 slot 0 on pccard0 I was thinking of adding the info strings from the CIS in place of "compat ep". Might be a good test for the CIS reading functions that have been talked about from time to time here that I've not implemented. I could cheat and have pccardd pass them down, but then I'd have to break the ioctl again and I'm not sure I want to do that for these patches. Hmmm, I think that I can do this easily enough inside pccard.c that it would be useful to both -current and -stable. Sure would help the xircom driver (and a radio card driver that I've not had time to work on in ages) and eliminate some horrible kludges that are there now (and sadly needed now). I also have some sio changes, but there is much work needed to be done to properly rid the sio driver of isa_{get,set}_foo in all routines except probe and attach on a real ISA bus. Also need to break out the ISA specific part of the probe/attach and the generic parts. And since it is sio, I gotta have set bruce-level much higher than I'm used to. Since the sio changes aren't done yet, I've not uploaded things. All I get is ENOMEM when I try to attach, and I know I've broken something important in SIO that I've not run into yet. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message