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
877c97fe
Commit
877c97fe
authored
Sep 05, 2002
by
Paul Mackerras
Committed by
Paul Mackerras
Sep 05, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: remove a couple of unused files.
parent
1e7eceaf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
121 deletions
+0
-121
arch/ppc/4xx_io/stb_kb.c
arch/ppc/4xx_io/stb_kb.c
+0
-0
arch/ppc/kernel/galaxy_pci.c
arch/ppc/kernel/galaxy_pci.c
+0
-121
No files found.
arch/ppc/4xx_io/stb_kb.c
deleted
100644 → 0
View file @
1e7eceaf
arch/ppc/kernel/galaxy_pci.c
deleted
100644 → 0
View file @
1e7eceaf
/*
* BK Id: %F% %I% %G% %U% %#%
*/
/*
*
* Copyright (c) 2000 Grant Erickson <grant@borg.umn.edu>
* All rights reserved.
*
* Module name: galaxy_pci.c
*
* Description:
* PCI interface code for the IBM PowerPC 405GP on-chip PCI bus
* interface.
*
* Why is this file called "galaxy_pci"? Because on the original
* IBM "Walnut" evaluation board schematic I have, the 405GP is
* is labeled "GALAXY".
*
*/
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/string.h>
#include <linux/init.h>
#include <asm/processor.h>
#include <asm/system.h>
#include <asm/io.h>
#include <asm/machdep.h>
#include <asm/pci-bridge.h>
/* Preprocessor Defines */
#define PCICFGADDR (volatile unsigned int *)(0xEEC00000)
#define PCICFGDATA (volatile unsigned int *)(0xEEC00004)
/* Function Prototypes */
void
__init
galaxy_pcibios_fixup
(
void
)
{
}
static
int
galaxy_pcibios_read_config_byte
(
struct
pci_controller
*
hose
,
u8
bus
,
u8
dev
,
u8
offset
,
u8
*
val
)
{
return
(
PCIBIOS_SUCCESSFUL
);
}
static
int
galaxy_pcibios_read_config_word
(
struct
pci_controller
*
hose
,
u8
bus
,
u8
dev
,
u8
offset
,
u16
*
val
)
{
return
(
PCIBIOS_SUCCESSFUL
);
}
static
int
galaxy_pcibios_read_config_dword
(
struct
pci_controller
*
hose
,
u8
bus
,
u8
dev
,
u8
offset
,
u32
*
val
)
{
return
(
PCIBIOS_SUCCESSFUL
);
}
static
int
galaxy_pcibios_write_config_byte
(
struct
pci_controller
*
hose
,
u8
bus
,
u8
dev
,
u8
offset
,
u8
val
)
{
return
(
PCIBIOS_SUCCESSFUL
);
}
static
int
galaxy_pcibios_write_config_word
(
struct
pci_controller
*
hose
,
u8
bus
,
u8
dev
,
u8
offset
,
u16
val
)
{
return
(
PCIBIOS_SUCCESSFUL
);
}
static
int
galaxy_pcibios_write_config_dword
(
struct
pci_controller
*
hose
,
u8
bus
,
u8
dev
,
u8
offset
,
u32
val
)
{
return
(
PCIBIOS_SUCCESSFUL
);
}
static
struct
pci_controller_ops
galaxy_pci_ops
=
{
galaxy_pcibios_read_config_byte
,
galaxy_pcibios_read_config_word
,
galaxy_pcibios_read_config_dword
,
galaxy_pcibios_write_config_byte
,
galaxy_pcibios_write_config_word
,
galaxy_pcibios_write_config_dword
};
void
__init
galaxy_find_bridges
(
void
)
{
struct
pci_controller
*
hose
;
set_config_access_method
(
galaxy
);
ppc_md
.
pcibios_fixup
=
galaxy_pcibios_fixup
;
hose
=
pcibios_alloc_controller
();
if
(
!
hose
)
return
;
hose
->
ops
=
&
galaxy_pci_ops
;
/* Todo ...
hose->cfg_data = ioremap(PCICFGDATA, ...);
hose->cfg_addr = ioremap(PCICFGADDR, ...);
*/
}
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