Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 31 Oct 2002 16:54:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 31 Oct 2002 16:54:49 -0500 Received: from momus.sc.intel.com ([143.183.152.8]:10443 "EHLO momus.sc.intel.com") by vger.kernel.org with ESMTP id ; Thu, 31 Oct 2002 16:54:49 -0500 Message-ID: From: "Grover, Andrew" To: "'Greg KH'" Cc: "Lee, Jung-Ik" , linux-kernel Subject: RE: bare pci configuration access functions ? Date: Thu, 31 Oct 2002 14:00:27 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 925 Lines: 21 > From: Greg KH [mailto:greg@kroah.com] > In 2.5 we now have a > pci_bus_read_* > and pci_bus_write_* functions, which the pci hotplug drivers use, as > they at least know the bus on which the devices they are > looking for are > on. I also had to convert over some ACPI code that was using the > pci_read_config functions to get everything to work properly, but I > don't seem to be able to find that code in the latest 2.5 tree, so I > guess you don't need to do that anymore? It's still there in drivers/acpi/osl.c. We use the pci_root_ops directly, instead of bus->ops (which is usually set to pci_root_ops anyways) but I just mention this as a sidenote. Regards -- Andy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/