Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55107
b: refs/heads/master
c: f0e93c1
h: refs/heads/master
i:
  55105: 38e25cf
  55103: 27e7e56
v: v3
  • Loading branch information
Atsushi Nemoto authored and Jeff Garzik committed May 8, 2007
1 parent bc5fda4 commit d22efeb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4d542b9fcae220a067156927e29a34cba605339
refs/heads/master: f0e93c10faf08e8840a0b7a44abccb520ead12df
13 changes: 7 additions & 6 deletions trunk/drivers/net/ne.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ bad_clone_list[] __initdata = {
# define DCR_VAL 0x49
#endif

static int ne_probe1(struct net_device *dev, int ioaddr);
static int ne_probe1(struct net_device *dev, unsigned long ioaddr);
static int ne_probe_isapnp(struct net_device *dev);

static int ne_open(struct net_device *dev);
Expand Down Expand Up @@ -185,7 +185,7 @@ static void ne_block_output(struct net_device *dev, const int count,

static int __init do_ne_probe(struct net_device *dev)
{
unsigned int base_addr = dev->base_addr;
unsigned long base_addr = dev->base_addr;
#ifndef MODULE
int orig_irq = dev->irq;
#endif
Expand Down Expand Up @@ -286,7 +286,7 @@ static int __init ne_probe_isapnp(struct net_device *dev)
return -ENODEV;
}

static int __init ne_probe1(struct net_device *dev, int ioaddr)
static int __init ne_probe1(struct net_device *dev, unsigned long ioaddr)
{
int i;
unsigned char SA_prom[32];
Expand Down Expand Up @@ -325,7 +325,7 @@ static int __init ne_probe1(struct net_device *dev, int ioaddr)
if (ei_debug && version_printed++ == 0)
printk(KERN_INFO "%s" KERN_INFO "%s", version1, version2);

printk(KERN_INFO "NE*000 ethercard probe at %#3x:", ioaddr);
printk(KERN_INFO "NE*000 ethercard probe at %#3lx:", ioaddr);

/* A user with a poor card that fails to ack the reset, or that
does not have a valid 0x57,0x57 signature can still use this
Expand Down Expand Up @@ -517,8 +517,7 @@ static int __init ne_probe1(struct net_device *dev, int ioaddr)
}
#endif

printk("\n%s: %s found at %#x, using IRQ %d.\n",
dev->name, name, ioaddr, dev->irq);
printk("\n");

ei_status.name = name;
ei_status.tx_start_page = start_page;
Expand Down Expand Up @@ -548,6 +547,8 @@ static int __init ne_probe1(struct net_device *dev, int ioaddr)
ret = register_netdev(dev);
if (ret)
goto out_irq;
printk(KERN_INFO "%s: %s found at %#lx, using IRQ %d.\n",
dev->name, name, ioaddr, dev->irq);
return 0;

out_irq:
Expand Down

0 comments on commit d22efeb

Please sign in to comment.