Subject: kern/3260: cosmetic bug in aha autoconf
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
List: netbsd-bugs
Date: 02/26/1997 03:52:38
>Number:         3260
>Category:       kern
>Synopsis:       cosmetic bug in aha autoconf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 25 20:05:01 1997
>Last-Modified:
>Originator:     Bill Sommerfeld
>Organization:
	none
>Release:        19970223
>Environment:
	
System: NetBSD orchard.medford.ma.us 1.2C NetBSD 1.2C (ORCHARD) #10: Mon Feb 24 21:16:59 EST 1997 sommerfeld@orchard.medford.ma.us:/home/inet6/src/sys/compile/ORCHARD i386


>Description:

Feb 24 21:26:07 orchard /netbsd: isa0 at mainbus0
Feb 24 21:26:07 orchard /netbsd: aha0 at isa0 port 0x330-0x333 irq 11 drq 5
Feb 24 21:26:07 orchard /netbsd: : model AHA-1540A/1542A/1542B, firmware 0.3
Feb 24 21:26:07 orchard /netbsd: aha0: sync, parity

missing `aha0' in config output.
	
>How-To-Repeat:
	reboot
>Fix:

(not yet tested)
Index: aha.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/aha.c,v
retrieving revision 1.1
diff -c -r1.1 aha.c
*** aha.c	1997/02/07 17:37:29	1.1
--- aha.c	1997/02/26 03:52:56
***************
*** 985,991 ****
  	*p = '\0';
  
  noinquire:
! 	printf(": model AHA-%s, firmware %s\n", sc->sc_model, sc->sc_firmware);
  }
  
  void
--- 985,993 ----
  	*p = '\0';
  
  noinquire:
! 	printf("%s: model AHA-%s, firmware %s\n",
! 	       sc->sc_dev.dv_xname,
! 	       sc->sc_model, sc->sc_firmware);
  }
  
  void

>Audit-Trail:
>Unformatted: