[dev][bus][pci] move the pci driver out of platform/pc into generic space

No functional change.
This commit is contained in:
Travis Geiselbrecht
2020-03-07 18:17:36 -08:00
parent 5969063a52
commit a44bc7863d
7 changed files with 9 additions and 6 deletions

View File

@@ -13,7 +13,7 @@
#include <stdlib.h>
#include <lk/compiler.h>
#include <platform.h>
#include <dev/pci.h>
#include <dev/bus/pci.h>
#include <lk/console_cmd.h>
/*

View File

@@ -5,4 +5,6 @@ MODULE := $(LOCAL_DIR)
MODULE_SRCS += \
$(LOCAL_DIR)/pci_tests.c
MODULE_DEPS += dev/bus/pci
include make/module.mk

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2009 Corey Tabaka
* Copyright (c) 2020 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
@@ -12,7 +13,7 @@
#include <kernel/thread.h>
#include <kernel/spinlock.h>
#include <arch/x86/descriptor.h>
#include <dev/pci.h>
#include <dev/bus/pci.h>
#include <lk/trace.h>
#define LOCAL_TRACE 0

View File

@@ -18,7 +18,7 @@
#include <platform/ide.h>
#include <platform/pc.h>
#include <platform.h>
#include <dev/pci.h>
#include <dev/bus/pci.h>
#include <dev/driver.h>
#include <dev/class/block.h>
#include <kernel/event.h>

View File

@@ -17,7 +17,7 @@
#include <platform/multiboot.h>
#include <platform/console.h>
#include <platform/keyboard.h>
#include <dev/pci.h>
#include <dev/bus/pci.h>
#include <dev/uart.h>
#include <arch/x86.h>
#include <arch/mmu.h>

View File

@@ -7,6 +7,7 @@ MODULE := $(LOCAL_DIR)
CPU ?= generic
MODULE_DEPS += \
dev/bus/pci \
lib/bio \
lib/cbuf
@@ -17,7 +18,6 @@ MODULE_SRCS += \
$(LOCAL_DIR)/debug.c \
$(LOCAL_DIR)/console.c \
$(LOCAL_DIR)/keyboard.c \
$(LOCAL_DIR)/pci.c \
$(LOCAL_DIR)/ide.c \
$(LOCAL_DIR)/uart.c \