NetBSD Problem Report #923
From gnats Wed Mar 29 13:19:12 1995
Received: from uran.informatik.uni-bonn.de (uran.informatik.uni-bonn.de [131.220.8.49]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id NAA00220 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 29 Mar 1995 13:19:06 -0800
Message-Id: <199503281145.NAA00812@beverly.rhein.de>
Date: Tue, 28 Mar 1995 13:45:57 +0200
From: Ignatios Souvatzis <is@beverly.rhein.de>
Reply-To: is@beverly.rhein.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: ARCnet hardware driver should reread link addr on ifconfig up
X-Send-Pr-Version: 3.2
>Number: 923
>Category: port-amiga
>Synopsis: The Amiga ARCnet driver only read the link address at boot time.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 29 13:20:08 +0000 1995
>Closed-Date: Fri Apr 14 17:11:14 +0000 1995
>Last-Modified:
>Originator: Ignatios Souvatzis
>Release: 1.0A
>Organization:
" private Internet site"
>Environment:
System: NetBSD beverly 1.0A NetBSD 1.0A (BEVERLY) #41: Mon Mar 27 10:35:09 MET DST 1995 is@beverly:/usr/src/sys/arch/amiga/compile/BEVERLY amiga
>Description:
The if_bah.c hardware driver for Amiga ARCnet boards only reads the link
address at boot time. However, the link address is set by dip switches and
it might be necessary (and is quite possible) to change them without
reboot.
>How-To-Repeat:
>Fix:
Apply the following diffs to /sys/arch/amiga/dev/if_bah.c
259c259
< sc->sc_arccom.ac_anaddr = sc->sc_base->dipswitches;
---
> sc->sc_arccom.ac_anaddr = linkaddress;
341c341
< int i, s;
---
> int i, s, linkaddress;
361a362,363
> linkaddress = sc->sc_base->dipswitches;
>
363,364c365,366
< printf("bah%ld: reset: card reset, status = 0x%02x\n",
< ifp->if_unit, sc->sc_base->status);
---
> printf("bah%ld: reset: card reset, link addr = 0x%02x (%ld)\n",
> ifp->if_unit, linkaddress, linkaddress);
365a368,372
> sc->sc_arccom.ac_anaddr = linkaddress;
>
> /* tell the routing level about the (possibly changed) link address */
> arc_ifattach(ifp);
>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: chopps
State-Changed-When: Fri Apr 14 10:11:14 PDT 1995
State-Changed-Why:
applied newer fix from From Ignatios Souvatzis
>Unformatted:
Ignatios Souvatzis
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.