diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-26 22:57:54 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-26 22:57:54 +0000 |
commit | f3db640290d8fe1387abc5b79780a992953ae293 (patch) | |
tree | d41077f93809c95482a95b59bd4609318456f538 | |
parent | b5f5177df0a859f4c403cfcb46a5469c74f94595 (diff) |
Call ARCS firmware via ARC library, not directly.
-rw-r--r-- | drivers/net/sgiseeq.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c index 56333fea0..f63ca1b45 100644 --- a/drivers/net/sgiseeq.c +++ b/drivers/net/sgiseeq.c @@ -1,4 +1,4 @@ -/* $Id: sgiseeq.c,v 1.14 2000/02/23 00:41:14 ralf Exp $ +/* $Id: sgiseeq.c,v 1.15 2000/02/24 00:13:01 ralf Exp $ * * sgiseeq.c: Seeq8003 ethernet driver for SGI machines. * @@ -697,12 +697,11 @@ int sgiseeq_probe(struct net_device *dev) return 0; initialized++; - /* First get the ethernet address of the onboard - * interface from ARCS. + /* First get the ethernet address of the onboard interface from ARCS. * This is fragile; PROM doesn't like running from cache. - * On MIPS64 it crashes for some other, yet unknown reason. + * On MIPS64 it crashes for some other, yet unknown reason ... */ - ep = romvec->get_evar("eaddr"); + ep = ArcGetEnvironmentVariable("eaddr"); str2eaddr(onboard_eth_addr, ep); return sgiseeq_init(dev, (struct sgiseeq_regs *) (KSEG1ADDR(0x1fbd4000)), |