From dea3dab4225a66312211a78c092f536e8aa756e8 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 8 May 2010 14:57:21 +0000 Subject: [PATCH] Forgot to commit the removal of the old file in r36223. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36741 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kernel/bus_managers/pci/pci_module.c | 92 ------------------- 1 file changed, 92 deletions(-) delete mode 100644 src/add-ons/kernel/bus_managers/pci/pci_module.c diff --git a/src/add-ons/kernel/bus_managers/pci/pci_module.c b/src/add-ons/kernel/bus_managers/pci/pci_module.c deleted file mode 100644 index 5e7e620a30..0000000000 --- a/src/add-ons/kernel/bus_managers/pci/pci_module.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright 2005-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved. - * Copyright 2003, Marcus Overhagen. All rights reserved. - * - * Distributed under the terms of the MIT License. - */ - - -#include - -#include "pci_private.h" -#include "pci_info.h" -#include "pci.h" - - -device_manager_info *gDeviceManager; - - -static int32 -pci_old_module_std_ops(int32 op, ...) -{ - switch (op) { - case B_MODULE_INIT: - { - status_t status; - - TRACE(("PCI: pci_module_init\n")); - - status = pci_init(); - if (status < B_OK) - return status; - - pci_print_info(); - - return B_OK; - } - - case B_MODULE_UNINIT: - TRACE(("PCI: pci_module_uninit\n")); - pci_uninit(); - return B_OK; - } - - return B_BAD_VALUE; -} - - -static struct pci_module_info sOldPCIModule = { - { - { - B_PCI_MODULE_NAME, - B_KEEP_LOADED, - pci_old_module_std_ops - }, - NULL - }, - &pci_read_io_8, - &pci_write_io_8, - &pci_read_io_16, - &pci_write_io_16, - &pci_read_io_32, - &pci_write_io_32, - &pci_get_nth_pci_info, - &pci_read_config, - &pci_write_config, - &pci_ram_address, - &pci_find_capability, - &pci_reserve_device, - &pci_unreserve_device -}; - -module_dependency module_dependencies[] = { - {B_DEVICE_MANAGER_MODULE_NAME, (module_info **)&gDeviceManager}, - {} -}; - -driver_module_info gPCILegacyDriverModule = { - { - PCI_LEGACY_DRIVER_MODULE_NAME, - 0, - NULL, - }, - NULL -}; - -module_info *modules[] = { - (module_info *)&sOldPCIModule, - (module_info *)&gPCIRootModule, - (module_info *)&gPCIDeviceModule, - (module_info *)&gPCILegacyDriverModule, - NULL -};