From owner-freebsd-mobile Thu May 24 0:21: 7 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id BD4CB37B423 for ; Thu, 24 May 2001 00:21:04 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f4O7L4E53480 for ; Thu, 24 May 2001 01:21:04 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200105240721.f4O7L4E53480@harmony.village.org> To: mobile@freebsd.org Subject: Updated pcic_pci.c patch Date: Thu, 24 May 2001 01:20:45 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've updated my pcic_pci.c patch. This one uses bus space; attempts to weed out those bridges that are ioports rather than memory mapped (it is busted now, but will be fixed); and uses table lookup. Please give this a spin and report back your experienes. I'd like to commit this by the end of the week, or early next week. Known problems: 1) hang on eject 2) pci interruts need to be handled properly (see #1) 3) Card Status Change (aka managment) interrupts should be routed, but aren't. 4) Interrupts should be shared with CSC interrupt where possible (eg non-fast interrupts). 5) Many issues likely remain with the CL-PD67* parts and any other bridge that implement 672x power management. 6) PCI CARDS are not yet supported, but might accidentally work (this is the goal of this set of changes). 7) Resource allocation isn't as flexible as pci allows. But these patches are working well enough for me to type this message to you on an awi card. http://people.freebsd.org/~imp/pcic_pci.diff.2 I don't know if swapping is working again in -current. I'd suggest: cd src/sys cvs update -PAd -D "2001-05-18 12:00:00" cd pccard cvs update -PAd patch < pcic_pci.diff.2 until the all clear is sent out. These are the exact sources that I'm testing with. Yes, these patches depend on everything I checked in before "2001-05-24 07:15:00" GMT. Sorry for any inconvenience this may cause. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message