From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264655AbUHCAkF (ORCPT ); Mon, 2 Aug 2004 20:40:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264750AbUHCAhl (ORCPT ); Mon, 2 Aug 2004 20:37:41 -0400 Received: from the-village.bc.nu ([81.2.110.252]:30905 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S264655AbUHCAep (ORCPT ); Mon, 2 Aug 2004 20:34:45 -0400 Subject: Re: [PATCH] add PCI ROMs to sysfs From: Alan Cox To: Jesse Barnes Cc: linux-pci@atrey.karlin.mff.cuni.cz, Jon Smirl , Greg KH , Linux Kernel Mailing List In-Reply-To: <200408021405.15640.jbarnes@engr.sgi.com> References: <20040802210048.5071.qmail@web14928.mail.yahoo.com> <200408021405.15640.jbarnes@engr.sgi.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1091489519.1647.16.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 03 Aug 2004 00:32:01 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Llu, 2004-08-02 at 22:05, Jesse Barnes wrote: > > Is tracking the boot video device and redirecting to C000:0 going to be > > a quirk, architecture specific, or what? Where does this little piece > > of code need to go? > > I think that would be a quirk. You'd copy ROMs like that into the rom pointer > in the pci_dev structure I guess. Providing that quirk is scanned at hotplug time it can go into the quirk code which is probably simplest. It may need a tiny hook in sysfs to map the right object but that isnt hard.