Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
70775e9c
Commit
70775e9c
authored
Mar 27, 2009
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ide: move ->rqsize init from init_irq() to ide_init_port()
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
211176cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
drivers/ide/ide-probe.c
drivers/ide/ide-probe.c
+7
-8
No files found.
drivers/ide/ide-probe.c
View file @
70775e9c
...
...
@@ -861,14 +861,6 @@ static int init_irq (ide_hwif_t *hwif)
if
(
request_irq
(
hwif
->
irq
,
irq_handler
,
sa
,
hwif
->
name
,
hwif
))
goto
out_up
;
if
(
!
hwif
->
rqsize
)
{
if
((
hwif
->
host_flags
&
IDE_HFLAG_NO_LBA48
)
||
(
hwif
->
host_flags
&
IDE_HFLAG_NO_LBA48_DMA
))
hwif
->
rqsize
=
256
;
else
hwif
->
rqsize
=
65536
;
}
#if !defined(__mc68000__)
printk
(
KERN_INFO
"%s at 0x%03lx-0x%03lx,0x%03lx on irq %d"
,
hwif
->
name
,
io_ports
->
data_addr
,
io_ports
->
status_addr
,
...
...
@@ -1114,6 +1106,13 @@ static void ide_init_port(ide_hwif_t *hwif, unsigned int port,
if
(
d
->
max_sectors
)
hwif
->
rqsize
=
d
->
max_sectors
;
else
{
if
((
hwif
->
host_flags
&
IDE_HFLAG_NO_LBA48
)
||
(
hwif
->
host_flags
&
IDE_HFLAG_NO_LBA48_DMA
))
hwif
->
rqsize
=
256
;
else
hwif
->
rqsize
=
65536
;
}
/* call chipset specific routine for each enabled port */
if
(
d
->
init_hwif
)
...
...
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