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
eb4c85da
Commit
eb4c85da
authored
Nov 10, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/davem/BK/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
ce2b4190
b5b3652b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
31 deletions
+2
-31
include/asm-sparc64/floppy.h
include/asm-sparc64/floppy.h
+2
-31
No files found.
include/asm-sparc64/floppy.h
View file @
eb4c85da
...
...
@@ -62,8 +62,6 @@ struct sun_floppy_ops {
void
(
*
fd_set_dma_addr
)
(
char
*
);
void
(
*
fd_set_dma_count
)
(
int
);
unsigned
int
(
*
get_dma_residue
)
(
void
);
void
(
*
fd_enable_irq
)
(
void
);
void
(
*
fd_disable_irq
)
(
void
);
int
(
*
fd_request_irq
)
(
void
);
void
(
*
fd_free_irq
)
(
void
);
int
(
*
fd_eject
)
(
int
);
...
...
@@ -82,8 +80,6 @@ static struct sun_floppy_ops sun_fdops;
#define fd_set_dma_addr(addr) sun_fdops.fd_set_dma_addr(addr)
#define fd_set_dma_count(count) sun_fdops.fd_set_dma_count(count)
#define get_dma_residue(x) sun_fdops.get_dma_residue()
#define fd_enable_irq() sun_fdops.fd_enable_irq()
#define fd_disable_irq() sun_fdops.fd_disable_irq()
#define fd_cacheflush(addr, size)
/* nothing... */
#define fd_request_irq() sun_fdops.fd_request_irq()
#define fd_free_irq() sun_fdops.fd_free_irq()
...
...
@@ -232,14 +228,6 @@ static int sun_fd_request_irq(void)
return
0
;
}
static
void
sun_fd_enable_irq
(
void
)
{
}
static
void
sun_fd_disable_irq
(
void
)
{
}
static
void
sun_fd_free_irq
(
void
)
{
}
...
...
@@ -391,25 +379,14 @@ static unsigned int sun_pci_get_dma_residue(void)
return
ebus_dma_residue
(
&
sun_pci_fd_ebus_dma
);
}
static
void
sun_pci_fd_enable_irq
(
void
)
{
ebus_dma_irq_enable
(
&
sun_pci_fd_ebus_dma
,
1
);
}
static
void
sun_pci_fd_disable_irq
(
void
)
{
ebus_dma_irq_enable
(
&
sun_pci_fd_ebus_dma
,
0
);
}
static
int
sun_pci_fd_request_irq
(
void
)
{
/* Done by enable/disable irq */
return
0
;
return
ebus_dma_irq_enable
(
&
sun_pci_fd_ebus_dma
,
1
);
}
static
void
sun_pci_fd_free_irq
(
void
)
{
/* Done by enable/disable irq */
ebus_dma_irq_enable
(
&
sun_pci_fd_ebus_dma
,
0
);
}
static
int
sun_pci_fd_eject
(
int
drive
)
...
...
@@ -587,8 +564,6 @@ static unsigned long __init isa_floppy_init(void)
sun_fdops
.
fd_set_dma_count
=
sun_fd_set_dma_count
;
sun_fdops
.
get_dma_residue
=
sun_get_dma_residue
;
sun_fdops
.
fd_enable_irq
=
sun_fd_enable_irq
;
sun_fdops
.
fd_disable_irq
=
sun_fd_disable_irq
;
sun_fdops
.
fd_request_irq
=
sun_fd_request_irq
;
sun_fdops
.
fd_free_irq
=
sun_fd_free_irq
;
...
...
@@ -694,8 +669,6 @@ static unsigned long __init sun_floppy_init(void)
sun_fdops
.
fd_set_dma_count
=
sun_pci_fd_set_dma_count
;
sun_fdops
.
get_dma_residue
=
sun_pci_get_dma_residue
;
sun_fdops
.
fd_enable_irq
=
sun_pci_fd_enable_irq
;
sun_fdops
.
fd_disable_irq
=
sun_pci_fd_disable_irq
;
sun_fdops
.
fd_request_irq
=
sun_pci_fd_request_irq
;
sun_fdops
.
fd_free_irq
=
sun_pci_fd_free_irq
;
...
...
@@ -810,8 +783,6 @@ static unsigned long __init sun_floppy_init(void)
sun_fdops
.
fd_set_dma_count
=
sun_fd_set_dma_count
;
sun_fdops
.
get_dma_residue
=
sun_get_dma_residue
;
sun_fdops
.
fd_enable_irq
=
sun_fd_enable_irq
;
sun_fdops
.
fd_disable_irq
=
sun_fd_disable_irq
;
sun_fdops
.
fd_request_irq
=
sun_fd_request_irq
;
sun_fdops
.
fd_free_irq
=
sun_fd_free_irq
;
...
...
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