Commit afdcff09 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [nicstar] small cleanup for some globals

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 14617e38
......@@ -54,7 +54,6 @@
#include <asm/uaccess.h>
#include <asm/atomic.h>
#include "nicstar.h"
#include "nicstarmac.h"
#ifdef CONFIG_ATM_NICSTAR_USE_SUNI
#include "suni.h"
#endif /* CONFIG_ATM_NICSTAR_USE_SUNI */
......
......@@ -7,6 +7,8 @@
* Read this ForeRunner's MAC address from eprom/eeprom
*/
typedef void __iomem *virt_addr_t;
#define CYCLE_DELAY 5
/* This was the original definition
......@@ -213,7 +215,7 @@ read_eprom_byte(virt_addr_t base, u_int8_t offset)
}
void
static void
nicstar_init_eprom( virt_addr_t base )
{
u_int32_t val;
......@@ -246,7 +248,7 @@ nicstar_init_eprom( virt_addr_t base )
* above.
*/
void
static void
nicstar_read_eprom(
virt_addr_t base,
u_int8_t prom_offset,
......
/******************************************************************************
*
* nicstarmac.h
*
* Header file for nicstarmac.c
*
******************************************************************************/
typedef void __iomem *virt_addr_t;
void nicstar_init_eprom( virt_addr_t base );
void nicstar_read_eprom( virt_addr_t, u_int8_t, u_int8_t *, u_int32_t);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment