From fb5398b8f7ed87b4b266b711badb23c228062319 Mon Sep 17 00:00:00 2001 From: beveloper Date: Mon, 29 Sep 2003 19:09:12 +0000 Subject: [PATCH] removed git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4861 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/pci_bus.h | 45 -------------------------------- headers/private/kernel/pci_p.h | 21 --------------- 2 files changed, 66 deletions(-) delete mode 100755 headers/private/kernel/pci_bus.h delete mode 100755 headers/private/kernel/pci_p.h diff --git a/headers/private/kernel/pci_bus.h b/headers/private/kernel/pci_bus.h deleted file mode 100755 index 2a72403852..0000000000 --- a/headers/private/kernel/pci_bus.h +++ /dev/null @@ -1,45 +0,0 @@ -/* -** Copyright 2001, Travis Geiselbrecht. All rights reserved. -** Distributed under the terms of the NewOS License. -*/ -#ifndef _PCI_BUS_H -#define _PCI_BUS_H - -#include - -struct kernel_args; - -struct pci_cfg { - uint16 vendor_id; - uint16 device_id; - - uint16 command; - uint16 status; - - uint8 revision_id; - uint8 interface; - uint8 sub_class; - uint8 base_class; - - uint8 cache_line_size; - uint8 latency_timer; - uint8 header_type; - uint8 bist; - - uint8 bus; - uint8 unit; - uint8 func; - uint8 irq; - - uint32 base[6]; - uint32 size[6]; -}; - -typedef enum { - PCI_GET_CFG = 10099, - PCI_DUMP_CFG -} pci_ioctl_cmd; - -int pci_bus_init(kernel_args *ka); - -#endif diff --git a/headers/private/kernel/pci_p.h b/headers/private/kernel/pci_p.h deleted file mode 100755 index 3d80c9dce9..0000000000 --- a/headers/private/kernel/pci_p.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef _PCI_P_H -#define _PCI_P_H - -#define CONFIG_ADDRESS 0xcf8 -#define CONFIG_DATA 0xcfc - -struct pci_config_address { - unsigned reg : 8, - function : 3, - unit : 5, - bus : 8, - reserved : 7, - enable : 1; -}; - -void dump_pci_config(struct pci_cfg *cfg); -int pci_probe(uint8 bus, uint8 unit, uint8 function, struct pci_cfg *cfg); - -#endif - -