patch-2.4.4 linux/drivers/net/sgiseeq.c
Next file: linux/drivers/net/shaper.c
Previous file: linux/drivers/net/seeq8005.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Apr 12 12:15:25 2001
- Orig file:
v2.4.3/linux/drivers/net/sgiseeq.c
- Orig date:
Tue Mar 6 19:28:35 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/net/sgiseeq.c linux/drivers/net/sgiseeq.c
@@ -206,7 +206,7 @@
void sgiseeq_dump_rings(void)
{
- static int once = 0;
+ static int once;
struct sgiseeq_rx_desc *r = gpriv->srings.rx_desc;
struct sgiseeq_tx_desc *t = gpriv->srings.tx_desc;
volatile struct hpc3_ethregs *hregs = gpriv->hregs;
@@ -611,7 +611,7 @@
int sgiseeq_init(struct net_device *dev, struct sgiseeq_regs *sregs,
struct hpc3_ethregs *hregs, int irq)
{
- static unsigned version_printed = 0;
+ static unsigned version_printed;
int i;
struct sgiseeq_private *sp;
@@ -704,7 +704,7 @@
int sgiseeq_probe(struct net_device *dev)
{
- static int initialized = 0;
+ static int initialized;
char *ep;
if (initialized) /* Already initialized? */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)