Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
49249950
Commit
49249950
authored
Apr 15, 2002
by
Patrick Mochel
Committed by
Linus Torvalds
Apr 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move arch/i386/kernel/pci-*.c to arch/i386/kernel/pci/; prepare for further cleanups
parent
0c686811
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
15 deletions
+25
-15
arch/i386/kernel/Makefile
arch/i386/kernel/Makefile
+6
-12
arch/i386/kernel/pci/Makefile
arch/i386/kernel/pci/Makefile
+16
-0
arch/i386/kernel/pci/common.c
arch/i386/kernel/pci/common.c
+1
-1
arch/i386/kernel/pci/dma.c
arch/i386/kernel/pci/dma.c
+0
-0
arch/i386/kernel/pci/i386.c
arch/i386/kernel/pci/i386.c
+1
-1
arch/i386/kernel/pci/irq.c
arch/i386/kernel/pci/irq.c
+1
-1
arch/i386/kernel/pci/pci.h
arch/i386/kernel/pci/pci.h
+0
-0
arch/i386/kernel/pci/visws.c
arch/i386/kernel/pci/visws.c
+0
-0
No files found.
arch/i386/kernel/Makefile
View file @
49249950
...
...
@@ -10,7 +10,7 @@
.S.o
:
$(CC)
$(AFLAGS)
-traditional
-c
$<
-o
$*
.o
all
:
kernel.o head.o init_task.o
all
:
first_rule
kernel.o head.o init_task.o
O_TARGET
:=
kernel.o
...
...
@@ -18,19 +18,9 @@ export-objs := mca.o mtrr.o msr.o cpuid.o microcode.o i386_ksyms.o time.o
obj-y
:=
process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o
\
ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o
\
pci-dma.o
i386_ksyms.o i387.o bluesmoke.o dmi_scan.o
\
i386_ksyms.o i387.o bluesmoke.o dmi_scan.o
\
bootflag.o
ifdef
CONFIG_PCI
obj-y
+=
pci-i386.o
ifdef
CONFIG_VISWS
obj-y
+=
pci-visws.o
else
obj-y
+=
pci-pc.o pci-irq.o
endif
endif
obj-$(CONFIG_MCA)
+=
mca.o
obj-$(CONFIG_MTRR)
+=
mtrr.o
obj-$(CONFIG_X86_MSR)
+=
msr.o
...
...
@@ -47,4 +37,8 @@ obj-y += setup-visws.o
obj-$(CONFIG_X86_VISWS_APIC)
+=
visws_apic.o
endif
kernel-subdir-$(CONFIG_PCI)
+=
pci
subdir-y
:=
$
(
kernel-subdir-y
)
obj-y
+=
$(
foreach
dir
,
$
(
subdir-y
)
,
$(dir)
/
$(dir)
.o
)
include
$(TOPDIR)/Rules.make
arch/i386/kernel/pci/Makefile
0 → 100644
View file @
49249950
O_TARGET
:=
pci.o
obj-y
:=
dma.o i386.o
ifdef
CONFIG_VISWS
obj-y
+=
visws.o
else
obj-y
+=
irq.o
obj-y
+=
common.o
endif
export-objs
+=
$
(
obj-y
)
include
$(TOPDIR)/Rules.make
arch/i386/kernel/pci
-pc
.c
→
arch/i386/kernel/pci
/common
.c
View file @
49249950
...
...
@@ -16,7 +16,7 @@
#include <asm/io.h>
#include <asm/smp.h>
#include "pci
-i386
.h"
#include "pci.h"
unsigned
int
pci_probe
=
PCI_PROBE_BIOS
|
PCI_PROBE_CONF1
|
PCI_PROBE_CONF2
;
...
...
arch/i386/kernel/pci
-
dma.c
→
arch/i386/kernel/pci
/
dma.c
View file @
49249950
File moved
arch/i386/kernel/pci
-
i386.c
→
arch/i386/kernel/pci
/
i386.c
View file @
49249950
...
...
@@ -92,7 +92,7 @@
#include <linux/ioport.h>
#include <linux/errno.h>
#include "pci
-i386
.h"
#include "pci.h"
void
pcibios_update_resource
(
struct
pci_dev
*
dev
,
struct
resource
*
root
,
...
...
arch/i386/kernel/pci
-
irq.c
→
arch/i386/kernel/pci
/
irq.c
View file @
49249950
...
...
@@ -17,7 +17,7 @@
#include <asm/smp.h>
#include <asm/io_apic.h>
#include "pci
-i386
.h"
#include "pci.h"
#define PIRQ_SIGNATURE (('$' << 0) + ('P' << 8) + ('I' << 16) + ('R' << 24))
#define PIRQ_VERSION 0x0100
...
...
arch/i386/kernel/pci
-i386
.h
→
arch/i386/kernel/pci
/pci
.h
View file @
49249950
File moved
arch/i386/kernel/pci
-
visws.c
→
arch/i386/kernel/pci
/
visws.c
View file @
49249950
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment