[dev][bus][pci] move the pci driver out of platform/pc into generic space
No functional change.
This commit is contained in:
@@ -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>
|
||||
|
||||
/*
|
||||
|
||||
@@ -5,4 +5,6 @@ MODULE := $(LOCAL_DIR)
|
||||
MODULE_SRCS += \
|
||||
$(LOCAL_DIR)/pci_tests.c
|
||||
|
||||
MODULE_DEPS += dev/bus/pci
|
||||
|
||||
include make/module.mk
|
||||
|
||||
@@ -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
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 \
|
||||
|
||||
|
||||
Reference in New Issue
Block a user