From owner-freebsd-current Wed Mar 15 11:24: 0 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 7A6C137BA41 for ; Wed, 15 Mar 2000 11:23:56 -0800 (PST) (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 MAA96229; Wed, 15 Mar 2000 12:23:54 -0700 (MST) (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 MAA88694; Wed, 15 Mar 2000 12:23:46 -0700 (MST) Message-Id: <200003151923.MAA88694@harmony.village.org> To: Blaz Zupan Subject: Re: pccard not working on 4.0-RELEASE Cc: freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Wed, 15 Mar 2000 20:16:12 +0100." References: Date: Wed, 15 Mar 2000 12:23:45 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Blaz Zupan writes: : > : pcic0: at port 0x3e0 iomem 0xd0000 on isa0 : > This is a slight lie. : > You might want to try this at 0x3e2. It is worth a shot. : : Bingo, it works! Now I'm wondering, GENERIC says: : : device pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000 : device pcic1 at isa? irq 11 port 0x3e2 iomem 0xd4000 disable : : Neither seems quite correct for my situation, where I use : : device pcic0 at isa? port 0x3e2 iomem 0xd0000 : : Is there a standard for this and are the above addresses just : backwards? I'll do another test with just : : device pcic0 at isa? : : as specified in LINT. The old code wouldn't even look at the second pcic entry. It will just blindly probe at both 3e0 and 3e2 and claim that it was really at 3e0. It would try to share interupts between these two entries and would generally not work at all on systems that had multiple pcic cards in them (I have about 6 different pcic isa cards that play better together now than before, but still not to the level I'd call working). I did have some code in place to try to search out the pcic devices, but it made it impossible to specify the management irq for those devices so I've never committed it. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message