From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 7 00:58:22 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE49F16A418 for ; Fri, 7 Dec 2007 00:58:22 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 72B7C13C459 for ; Fri, 7 Dec 2007 00:58:22 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA09.westchester.pa.mail.comcast.net with comcast id MZxJ1Y00D1GhbT8050HL00; Fri, 07 Dec 2007 00:47:21 +0000 Received: from discordia ([24.60.136.97]) by OMTA07.westchester.pa.mail.comcast.net with comcast id McnM1Y00226FYqY0300000; Fri, 07 Dec 2007 00:47:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=luU8WhE17Qv7J-GBPjAA:9 a=yzHYVSFOmDnV-R3lQHIx5SGZ3aYA:4 a=b8hG5vVbyAkA:10 Received: by discordia (Postfix, from userid 103) id 20CFC16B559; Thu, 6 Dec 2007 19:47:21 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 053AA16B557 for ; Thu, 6 Dec 2007 19:47:05 -0500 (EST) Message-ID: <475897DB.1010308@FreeBSD.org> Date: Thu, 06 Dec 2007 19:46:19 -0500 From: Coleman Kane Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Overlap in PCI memory ranges X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2007 00:58:22 -0000 Hello all, I've got a problem with overlapping PCI memory ranges between my SATA controller and my High-Def Audio controller: atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0 pcm0: mem 0xd0608000-0xd060bfff irq 16 at device 20.2 on pci0 I am curious if anybody knows of any way to overwrite the boot-up memory range in the PCI configuration. I have tried: pciconf -w pci0:0:20:2 16 0xd0614004 after inpecting that the above PCI reg's value before this is 0xd0608004. It seems that if I try writing the config register to anything between d0608000 and d0614000, the register gets reverted back to 0xd0608004. If I go higher than 0xd0614004, then it gets reverted to that number. I am not very familiar with PCI configuration (or other facilities FreeBSD uses to assign resources to PCI devices), so I'd like to know if anybody can help me sort this problem out which is preventing AHCI and HDA-Audio from working... -- Coleman Kane