From dwmalone@maths.tcd.ie  Sat Jan 29 07:56:48 2000
Return-Path: <dwmalone@maths.tcd.ie>
Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11])
	by hub.freebsd.org (Postfix) with SMTP id CBA7F14EAC
	for <freebsd-gnats-submit@freebsd.org>; Sat, 29 Jan 2000 07:56:46 -0800 (PST)
	(envelope-from dwmalone@maths.tcd.ie)
Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP
          id <aa55895@salmon>; 29 Jan 2000 15:56:45 +0000 (GMT)
Message-Id: <200001291556.aa13789@walton.maths.tcd.ie>
Date: Sat, 29 Jan 2000 15:56:39 +0000 (GMT)
From: dwmalone@maths.tcd.ie
Sender: dwmalone@maths.tcd.ie
Reply-To: dwmalone@maths.tcd.ie
To: FreeBSD-gnats-submit@freebsd.org
Subject: Unprefixed line in boot up messages.
X-Send-Pr-Version: 3.2

>Number:         16442
>Category:       kern
>Synopsis:       Part of the adv driver prints a message without adv?:
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gibbs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 08:00:01 PST 2000
>Closed-Date:    Mon Jan 31 16:44:20 PST 2000
>Last-Modified:  Mon Jan 31 16:45:27 PST 2000
>Originator:     David Malone
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
School of Maths, Trinity College, Dublin, Ireland.
>Environment:

4.0 for the last month or so. (As of 29/1/2000)

>Description:

On boot up I see:

adv0: <AdvanSys ASC3030/50 SCSI controller> port 0xe400-0xe4ff mem 0xe7001000-0xe70010ff irq 10 at device 9.0 on pci0
No external RAM
adv0: AdvanSys Ultra SCSI Host Adapter, SCSI ID 7, queue depth 16

I guess the "No external RAM" line should have an adv0: infront of it?
(Or be part of a verbose boot?)

>How-To-Repeat:

Boot with my advansys card.

>Fix:

Something like:

--- advansys.c.orig     Sat Jan 29 15:54:44 2000
+++ advansys.c  Sat Jan 29 15:55:50 2000
@@ -933,7 +933,7 @@
        }
 
        if (adv_test_external_lram(adv) == 0) {
-               printf("No external RAM\n");
+               printf("adv%d: No external RAM\n", adv->unit);
                if ((adv->type & (ADV_PCI|ADV_ULTRA)) == (ADV_PCI|ADV_ULTRA)) {
                        eeprom_config.max_total_qng =
                            ADV_MAX_PCI_ULTRA_INRAM_TOTAL_QNG;


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: ken 
Responsible-Changed-When: Mon Jan 31 15:40:07 PST 2000 
Responsible-Changed-Why:  
Justin wrote the Advansys driver. 
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Mon Jan 31 16:44:20 PST 2000 
State-Changed-Why:  
The printf has been removed. 
>Unformatted:
