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
be6a0e44
Commit
be6a0e44
authored
Aug 17, 2003
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALPHA] Update for "name" out of struct device.
parent
2c119559
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
arch/alpha/kernel/sys_marvel.c
arch/alpha/kernel/sys_marvel.c
+8
-1
No files found.
arch/alpha/kernel/sys_marvel.c
View file @
be6a0e44
...
@@ -33,6 +33,13 @@
...
@@ -33,6 +33,13 @@
# error NR_IRQS < MARVEL_NR_IRQS !!!
# error NR_IRQS < MARVEL_NR_IRQS !!!
#endif
#endif
/* ??? Should probably be generic. */
#ifdef CONFIG_PCI_NAMES
#define pci_pretty_name(x) ((x)->pretty_name)
#else
#define pci_pretty_name(x) ""
#endif
/*
/*
* Interrupt handling.
* Interrupt handling.
...
@@ -378,7 +385,7 @@ marvel_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
...
@@ -378,7 +385,7 @@ marvel_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
PCI_SLOT
(
dev
->
devfn
),
PCI_SLOT
(
dev
->
devfn
),
PCI_FUNC
(
dev
->
devfn
),
PCI_FUNC
(
dev
->
devfn
),
hose
->
index
,
hose
->
index
,
dev
->
dev
.
name
);
pci_pretty_name
(
dev
)
);
printk
(
" %d message(s) from 0x%04x
\n
"
,
printk
(
" %d message(s) from 0x%04x
\n
"
,
1
<<
((
msg_ctl
&
PCI_MSI_FLAGS_QSIZE
)
>>
4
),
1
<<
((
msg_ctl
&
PCI_MSI_FLAGS_QSIZE
)
>>
4
),
msg_dat
);
msg_dat
);
...
...
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