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
4de19940
Commit
4de19940
authored
Mar 06, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix wrong type and statics in amd ide
parent
451181f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/ide/pci/amd74xx.c
drivers/ide/pci/amd74xx.c
+5
-5
No files found.
drivers/ide/pci/amd74xx.c
View file @
4de19940
...
...
@@ -82,7 +82,7 @@ static char *amd_dma[] = { "MWDMA16", "UDMA33", "UDMA66", "UDMA100" };
#include <linux/stat.h>
#include <linux/proc_fs.h>
static
long
amd_base
;
static
unsigned
long
amd_base
;
static
struct
pci_dev
*
bmide_dev
;
extern
int
(
*
amd74xx_display_info
)(
char
*
,
char
**
,
off_t
,
int
);
/* ide-proc.c */
...
...
@@ -102,7 +102,7 @@ static int amd74xx_get_info(char *buffer, char **addr, off_t offset, int count)
amd_print
(
"----------AMD BusMastering IDE Configuration----------------"
);
amd_print
(
"Driver Version: 2.
8
"
);
amd_print
(
"Driver Version: 2.
9
"
);
amd_print
(
"South Bridge: %s"
,
bmide_dev
->
dev
.
name
);
pci_read_config_byte
(
dev
,
PCI_REVISION_ID
,
&
t
);
...
...
@@ -284,7 +284,7 @@ static int amd74xx_ide_dma_check(ide_drive_t *drive)
* and initialize its drive independent registers.
*/
unsigned
int
__init
init_chipset_amd74xx
(
struct
pci_dev
*
dev
,
const
char
*
name
)
static
unsigned
int
__init
init_chipset_amd74xx
(
struct
pci_dev
*
dev
,
const
char
*
name
)
{
unsigned
char
t
;
unsigned
int
u
;
...
...
@@ -378,12 +378,12 @@ unsigned int __init init_chipset_amd74xx(struct pci_dev *dev, const char *name)
return
0
;
}
unsigned
int
__init
ata66_amd74xx
(
ide_hwif_t
*
hwif
)
static
unsigned
int
__init
ata66_amd74xx
(
ide_hwif_t
*
hwif
)
{
return
((
amd_enabled
&
amd_80w
)
>>
hwif
->
channel
)
&
1
;
}
void
__init
init_hwif_amd74xx
(
ide_hwif_t
*
hwif
)
static
void
__init
init_hwif_amd74xx
(
ide_hwif_t
*
hwif
)
{
int
i
;
...
...
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