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
e34121f7
Commit
e34121f7
authored
Jul 04, 2003
by
Marc Zyngier
Committed by
Linus Torvalds
Jul 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] EISA: PCI-EISA dma_mask
- Use parent bridge device dma_mask as default for each discovered device.
parent
e0e5907e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/eisa/pci_eisa.c
drivers/eisa/pci_eisa.c
+2
-1
No files found.
drivers/eisa/pci_eisa.c
View file @
e34121f7
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
static
struct
eisa_root_device
pci_eisa_root
;
static
struct
eisa_root_device
pci_eisa_root
;
static
int
__devinit
pci_eisa_init
(
struct
pci_dev
*
pdev
,
static
int
__devinit
pci_eisa_init
(
struct
pci_dev
*
pdev
,
const
struct
pci_device_id
*
ent
)
const
struct
pci_device_id
*
ent
)
{
{
int
rc
;
int
rc
;
...
@@ -35,6 +35,7 @@ static int __devinit pci_eisa_init (struct pci_dev *pdev,
...
@@ -35,6 +35,7 @@ static int __devinit pci_eisa_init (struct pci_dev *pdev,
pci_eisa_root
.
res
=
pdev
->
bus
->
resource
[
0
];
pci_eisa_root
.
res
=
pdev
->
bus
->
resource
[
0
];
pci_eisa_root
.
bus_base_addr
=
pdev
->
bus
->
resource
[
0
]
->
start
;
pci_eisa_root
.
bus_base_addr
=
pdev
->
bus
->
resource
[
0
]
->
start
;
pci_eisa_root
.
slots
=
EISA_MAX_SLOTS
;
pci_eisa_root
.
slots
=
EISA_MAX_SLOTS
;
pci_eisa_root
.
dma_mask
=
pdev
->
dma_mask
;
if
(
eisa_root_register
(
&
pci_eisa_root
))
{
if
(
eisa_root_register
(
&
pci_eisa_root
))
{
printk
(
KERN_ERR
"pci_eisa : Could not register EISA root
\n
"
);
printk
(
KERN_ERR
"pci_eisa : Could not register EISA root
\n
"
);
...
...
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