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
d5498bef
Commit
d5498bef
authored
Apr 20, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr smc911x] trim trailing whitespace
parent
0a0c72c9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
114 additions
and
114 deletions
+114
-114
drivers/net/smc911x.c
drivers/net/smc911x.c
+105
-105
drivers/net/smc911x.h
drivers/net/smc911x.h
+9
-9
No files found.
drivers/net/smc911x.c
View file @
d5498bef
This diff is collapsed.
Click to expand it.
drivers/net/smc911x.h
View file @
d5498bef
...
...
@@ -73,13 +73,13 @@
#if SMC_USE_PXA_DMA
#define SMC_USE_DMA
/*
* Define the request and free functions
/*
* Define the request and free functions
* These are unfortunately architecture specific as no generic allocation
* mechanism exits
*/
#define SMC_DMA_REQUEST(dev, handler) \
pxa_request_dma(dev->name, DMA_PRIO_LOW, handler, dev)
pxa_request_dma(dev->name, DMA_PRIO_LOW, handler, dev)
#define SMC_DMA_FREE(dev, dma) \
pxa_free_dma(dma)
...
...
@@ -101,14 +101,14 @@
static
dma_addr_t
rx_dmabuf
,
tx_dmabuf
;
static
int
rx_dmalen
,
tx_dmalen
;
#ifdef SMC_insl
#undef SMC_insl
#define SMC_insl(a, r, p, l) \
smc_pxa_dma_insl(lp->dev, a, lp->physaddr, r, lp->rxdma, p, l)
static
inline
void
smc_pxa_dma_insl
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
smc_pxa_dma_insl
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
int
reg
,
int
dma
,
u_char
*
buf
,
int
len
)
{
/* 64 bit alignment is required for memory to memory DMA */
...
...
@@ -136,7 +136,7 @@ smc_pxa_dma_insl(struct device *dev, u_long ioaddr, u_long physaddr,
smc_pxa_dma_insw(lp->dev, a, lp->physaddr, r, lp->rxdma, p, l)
static
inline
void
smc_pxa_dma_insw
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
smc_pxa_dma_insw
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
int
reg
,
int
dma
,
u_char
*
buf
,
int
len
)
{
/* 64 bit alignment is required for memory to memory DMA */
...
...
@@ -164,7 +164,7 @@ smc_pxa_dma_insw(struct device *dev, u_long ioaddr, u_long physaddr,
smc_pxa_dma_outsl(lp->dev, a, lp->physaddr, r, lp->txdma, p, l)
static
inline
void
smc_pxa_dma_outsl
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
smc_pxa_dma_outsl
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
int
reg
,
int
dma
,
u_char
*
buf
,
int
len
)
{
/* 64 bit alignment is required for memory to memory DMA */
...
...
@@ -192,7 +192,7 @@ smc_pxa_dma_outsl(struct device *dev, u_long ioaddr, u_long physaddr,
smc_pxa_dma_outsw(lp->dev, a, lp->physaddr, r, lp->txdma, p, l)
static
inline
void
smc_pxa_dma_outsw
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
smc_pxa_dma_outsw
(
struct
device
*
dev
,
u_long
ioaddr
,
u_long
physaddr
,
int
reg
,
int
dma
,
u_char
*
buf
,
int
len
)
{
/* 64 bit alignment is required for memory to memory DMA */
...
...
@@ -607,7 +607,7 @@ struct chip_id {
u16
id
;
char
*
name
;
};
static
const
struct
chip_id
chip_ids
[]
=
{
{
CHIP_9115
,
"LAN9115"
},
{
CHIP_9116
,
"LAN9116"
},
...
...
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