diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
commit | 6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch) | |
tree | 0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /drivers/net/at1700.c | |
parent | ecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff) |
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine
status unknown.
Diffstat (limited to 'drivers/net/at1700.c')
-rw-r--r-- | drivers/net/at1700.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/at1700.c b/drivers/net/at1700.c index b59131a62..67f8dbd3f 100644 --- a/drivers/net/at1700.c +++ b/drivers/net/at1700.c @@ -206,7 +206,7 @@ int at1700_probe(struct net_device *dev) if (base_addr > 0x1ff) /* Check a single specified location. */ return at1700_probe1(dev, base_addr); else if (base_addr != 0) /* Don't probe at all. */ - return ENXIO; + return -ENXIO; for (i = 0; at1700_probe_list[i]; i++) { int ioaddr = at1700_probe_list[i]; @@ -215,7 +215,7 @@ int at1700_probe(struct net_device *dev) if (at1700_probe1(dev, ioaddr) == 0) return 0; } - return ENODEV; + return -ENODEV; } #endif |