From f3db640290d8fe1387abc5b79780a992953ae293 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 26 Mar 2000 22:57:54 +0000 Subject: Call ARCS firmware via ARC library, not directly. --- drivers/net/sgiseeq.c | 9 ++++----- 1 file 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)), -- cgit v1.2.3