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
c9175716
Commit
c9175716
authored
Sep 29, 2002
by
Jens Axboe
Committed by
Linus Torvalds
Sep 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] set ide pci dma mask
Make IDE set the dma mask to full 32-bit dma.
parent
bac4650d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
drivers/ide/setup-pci.c
drivers/ide/setup-pci.c
+11
-0
No files found.
drivers/ide/setup-pci.c
View file @
c9175716
...
@@ -331,6 +331,17 @@ static int ide_pci_enable(struct pci_dev *dev, ide_pci_device_t *d)
...
@@ -331,6 +331,17 @@ static int ide_pci_enable(struct pci_dev *dev, ide_pci_device_t *d)
}
else
}
else
printk
(
KERN_WARNING
"%s: Not fully BIOS configured!
\n
"
,
d
->
name
);
printk
(
KERN_WARNING
"%s: Not fully BIOS configured!
\n
"
,
d
->
name
);
}
}
/*
* assume all devices can do 32-bit dma for now. we can add a
* dma mask field to the ide_pci_device_t if we need it (or let
* lower level driver set the dma mask)
*/
if
(
pci_set_dma_mask
(
dev
,
0xffffffff
))
{
printk
(
KERN_ERR
"%s: can't set dma mask
\n
"
,
d
->
name
);
return
-
EBUSY
;
}
/* FIXME: Temporary - until we put in the hotplug interface logic
/* FIXME: Temporary - until we put in the hotplug interface logic
Check that the bits we want are not in use by someone else */
Check that the bits we want are not in use by someone else */
if
(
pci_request_region
(
dev
,
4
,
"ide_tmp"
))
if
(
pci_request_region
(
dev
,
4
,
"ide_tmp"
))
...
...
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