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
nexedi
linux
Commits
7dc25f5c
Commit
7dc25f5c
authored
Oct 31, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 31, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] kill pcibios in m6k8
parent
c0fa2ad2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
arch/m68k/atari/hades-pci.c
arch/m68k/atari/hades-pci.c
+5
-7
No files found.
arch/m68k/atari/hades-pci.c
View file @
7dc25f5c
...
...
@@ -311,26 +311,24 @@ static void __init hades_fixup(int pci_modify)
slot
=
PCI_SLOT
(
dev
->
devfn
);
/* Determine slot number. */
dev
->
irq
=
irq_tab
[
slot
];
if
(
pci_modify
)
pcibios_write_config_byte
(
dev
->
bus
->
number
,
dev
->
devfn
,
PCI_INTERRUPT_LINE
,
dev
->
irq
);
pci_write_config_byte
(
dev
,
PCI_INTERRUPT_LINE
,
dev
->
irq
);
}
}
}
/*
* static void hades_conf_device(
unsigned char bus, unsigned char device_fn
)
* static void hades_conf_device(
struct pci_dev *dev
)
*
* Machine dependent Configure the given device.
*
* Parameters:
*
* bus - bus number of the device.
* device_fn - device and function number of the device.
* dev - the pci device.
*/
static
void
__init
hades_conf_device
(
unsigned
char
bus
,
unsigned
char
device_fn
)
static
void
__init
hades_conf_device
(
struct
pci_dev
*
dev
)
{
pci
bios_write_config_byte
(
bus
,
device_fn
,
PCI_CACHE_LINE_SIZE
,
0
);
pci
_write_config_byte
(
dev
,
PCI_CACHE_LINE_SIZE
,
0
);
}
static
struct
pci_ops
hades_pci_ops
=
{
...
...
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