From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 7 03:18:47 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 398D816A46B; Fri, 7 Dec 2007 03:18:47 +0000 (UTC) (envelope-from gcorcoran@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id CC48013C442; Fri, 7 Dec 2007 03:18:46 +0000 (UTC) (envelope-from gcorcoran@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 06 Dec 2007 21:50:15 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.5-GA) with ESMTP id JKO88930; Thu, 6 Dec 2007 21:50:15 -0500 (EST) Received: from 207-172-55-230.c3-0.tlg-ubr5.atw-tlg.pa.cable.rcn.com (HELO [10.56.78.161]) ([207.172.55.230]) by smtp01.lnh.mail.rcn.net with ESMTP; 06 Dec 2007 21:49:11 -0500 Message-ID: <4758B6E8.7030502@rcn.com> Date: Thu, 06 Dec 2007 21:58:48 -0500 From: Gary Corcoran User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: cokane@FreeBSD.org References: <475897DB.1010308@FreeBSD.org> In-Reply-To: <475897DB.1010308@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: freebsd-hackers@freebsd.org Subject: Re: Overlap in PCI memory ranges X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 03:18:47 -0000 Coleman Kane wrote: > 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 Sorry, I couldn't help you even if I saw the problem, but I can't see any overlap in the above. I see a bunch of relatively low addresses, and one high memory address range. Where's the conflict ?? Gary > 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