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
acef9fa3
Commit
acef9fa3
authored
Feb 04, 2004
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Feb 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ide-io.c: remove unused unplugged iops
Introduced in kernel 2.5.63 and never used.
parent
ae78191f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
69 deletions
+0
-69
drivers/ide/ide-iops.c
drivers/ide/ide-iops.c
+0
-69
No files found.
drivers/ide/ide-iops.c
View file @
acef9fa3
...
...
@@ -30,75 +30,6 @@
#include <asm/io.h>
#include <asm/bitops.h>
/*
* IDE operator we assign to an unplugged device so that
* we don't trash new hardware assigned the same resources
*/
static
u8
ide_unplugged_inb
(
unsigned
long
port
)
{
return
0xFF
;
}
static
u16
ide_unplugged_inw
(
unsigned
long
port
)
{
return
0xFFFF
;
}
static
void
ide_unplugged_insw
(
unsigned
long
port
,
void
*
addr
,
u32
count
)
{
}
static
u32
ide_unplugged_inl
(
unsigned
long
port
)
{
return
0xFFFFFFFF
;
}
static
void
ide_unplugged_insl
(
unsigned
long
port
,
void
*
addr
,
u32
count
)
{
}
static
void
ide_unplugged_outb
(
u8
val
,
unsigned
long
port
)
{
}
static
void
ide_unplugged_outbsync
(
ide_drive_t
*
drive
,
u8
addr
,
unsigned
long
port
)
{
}
static
void
ide_unplugged_outw
(
u16
val
,
unsigned
long
port
)
{
}
static
void
ide_unplugged_outsw
(
unsigned
long
port
,
void
*
addr
,
u32
count
)
{
}
static
void
ide_unplugged_outl
(
u32
val
,
unsigned
long
port
)
{
}
static
void
ide_unplugged_outsl
(
unsigned
long
port
,
void
*
addr
,
u32
count
)
{
}
void
unplugged_hwif_iops
(
ide_hwif_t
*
hwif
)
{
hwif
->
OUTB
=
ide_unplugged_outb
;
hwif
->
OUTBSYNC
=
ide_unplugged_outbsync
;
hwif
->
OUTW
=
ide_unplugged_outw
;
hwif
->
OUTL
=
ide_unplugged_outl
;
hwif
->
OUTSW
=
ide_unplugged_outsw
;
hwif
->
OUTSL
=
ide_unplugged_outsl
;
hwif
->
INB
=
ide_unplugged_inb
;
hwif
->
INW
=
ide_unplugged_inw
;
hwif
->
INL
=
ide_unplugged_inl
;
hwif
->
INSW
=
ide_unplugged_insw
;
hwif
->
INSL
=
ide_unplugged_insl
;
}
EXPORT_SYMBOL
(
unplugged_hwif_iops
);
/*
* Conventional PIO operations for ATA devices
*/
...
...
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