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
11b7becc
Commit
11b7becc
authored
Nov 23, 2007
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libata: checkpatch fixes
Signed-off-by:
Jeff Garzik
<
jgarzik@redhat.com
>
parent
49f29090
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
drivers/ata/libata-core.c
drivers/ata/libata-core.c
+3
-3
drivers/ata/pata_ali.c
drivers/ata/pata_ali.c
+1
-1
drivers/ata/pata_ninja32.c
drivers/ata/pata_ninja32.c
+6
-4
No files found.
drivers/ata/libata-core.c
View file @
11b7becc
drivers/ata/pata_ali.c
View file @
11b7becc
drivers/ata/pata_ninja32.c
View file @
11b7becc
...
...
@@ -61,7 +61,8 @@ static void ninja32_set_piomode(struct ata_port *ap, struct ata_device *adev)
static
u16
pio_timing
[
5
]
=
{
0xd6
,
0x85
,
0x44
,
0x33
,
0x13
};
iowrite8
(
pio_timing
[
adev
->
pio_mode
-
XFER_PIO_0
],
ap
->
ioaddr
.
bmdma_addr
+
0x1f
);
iowrite8
(
pio_timing
[
adev
->
pio_mode
-
XFER_PIO_0
],
ap
->
ioaddr
.
bmdma_addr
+
0x1f
);
ap
->
private_data
=
adev
;
}
...
...
@@ -176,12 +177,13 @@ static int ninja32_init_one(struct pci_dev *dev, const struct pci_device_id *id)
iowrite8
(
0xB3
,
base
+
0x02
);
/* Burst, ?? setup */
iowrite8
(
0x00
,
base
+
0x04
);
/* WAIT0 ? */
/* FIXME: Should we disable them at remove ? */
return
ata_host_activate
(
host
,
dev
->
irq
,
ata_interrupt
,
IRQF_SHARED
,
&
ninja32_sht
);
return
ata_host_activate
(
host
,
dev
->
irq
,
ata_interrupt
,
IRQF_SHARED
,
&
ninja32_sht
);
}
static
const
struct
pci_device_id
ninja32
[]
=
{
{
0x1145
,
0xf021
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x1145
,
0xf024
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x1145
,
0xf021
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
0x1145
,
0xf024
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
},
{
},
};
...
...
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