arcnet: Add and remove blank lines
Use a more current kernel line style. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
This commit is contained in:

committed by
Michael Grzeschik

parent
cb334648a1
commit
01a1d5ac4e
@@ -36,10 +36,8 @@
|
||||
#include <asm/io.h>
|
||||
#include <linux/arcdevice.h>
|
||||
|
||||
|
||||
#define VERSION "arcnet: RIM I (entirely mem-mapped) support\n"
|
||||
|
||||
|
||||
/* Internal function declarations */
|
||||
|
||||
static int arcrimi_probe(struct net_device *dev);
|
||||
@@ -78,7 +76,6 @@ static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, int offse
|
||||
#define AINTMASK(msk) writeb((msk), _INTMASK)
|
||||
#define SETCONF() writeb(lp->config, _CONFIG)
|
||||
|
||||
|
||||
/*
|
||||
* We cannot probe for a RIM I card; one reason is I don't know how to reset
|
||||
* them. In fact, we can't even get their node ID automatically. So, we
|
||||
@@ -249,7 +246,6 @@ err_free_irq:
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Do a hardware reset on the card, and set up necessary registers.
|
||||
*
|
||||
@@ -308,15 +304,16 @@ static void arcrimi_copy_to_card(struct net_device *dev, int bufnum, int offset,
|
||||
{
|
||||
struct arcnet_local *lp = netdev_priv(dev);
|
||||
void __iomem *memaddr = lp->mem_start + 0x800 + bufnum * 512 + offset;
|
||||
|
||||
TIME("memcpy_toio", count, memcpy_toio(memaddr, buf, count));
|
||||
}
|
||||
|
||||
|
||||
static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, int offset,
|
||||
void *buf, int count)
|
||||
{
|
||||
struct arcnet_local *lp = netdev_priv(dev);
|
||||
void __iomem *memaddr = lp->mem_start + 0x800 + bufnum * 512 + offset;
|
||||
|
||||
TIME("memcpy_fromio", count, memcpy_fromio(buf, memaddr, count));
|
||||
}
|
||||
|
||||
@@ -374,6 +371,7 @@ static void __exit arc_rimi_exit(void)
|
||||
static int __init arcrimi_setup(char *s)
|
||||
{
|
||||
int ints[8];
|
||||
|
||||
s = get_options(s, 8, ints);
|
||||
if (!ints[0])
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user