From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 18 07:15:14 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A04037B401 for ; Mon, 18 Aug 2003 07:15:14 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id D839C43FA3 for ; Mon, 18 Aug 2003 07:15:12 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 24865 invoked by uid 5013); 18 Aug 2003 14:12:17 -0000 Date: Mon, 18 Aug 2003 15:12:17 +0100 From: Bruce M Simpson To: Igor Pokrovsky , freebsd-hackers@freebsd.org Message-ID: <20030818141217.GD21219@spc.org> Mail-Followup-To: Bruce M Simpson , Igor Pokrovsky , freebsd-hackers@freebsd.org References: <20030818124841.GA35843@exmatis1.cnrm.meteo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030818124841.GA35843@exmatis1.cnrm.meteo.fr> User-Agent: Mutt/1.4.1i Organization: SPC Subject: Re: PCI quirk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 14:15:14 -0000 On Mon, Aug 18, 2003 at 02:48:41PM +0200, Igor Pokrovsky wrote: > Hello all, > > I'd like to add a PCI quirk, which will enable SMBus on boot > (it gets disabled by BIOS). What is the best place in kernel > to do this? I looked through PCI sources, but haven't found > any suitable place for that (not like in USB case). This sounds like perhaps you need to add a patch tied to your southbridge. Generally the SMBus interface hangs off the southbridge or a power management controller. But you haven't told us which one, so any advice we may be able to give you is largely academic. Do you know the PCI ID of the *function* that implements the SMBus interface in your system? If so, grep through the kernel source and find which driver is attached to it, if any. If not, pciconf -lv is a good place to start. BMS