Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 1995 11:44:56 -0800 (PST)
From:      julian@tfs.com (Julian Elischer)
To:        dufault@hda.com (Peter Dufault)
Cc:        rgrimes@gndrsh.aac.dev.com, freebsd-hackers@freefall.cdrom.com
Subject:   Re: SCSI probe cleaned up
Message-ID:  <m0roz04-0003wHC@TFS.COM>
In-Reply-To: <199503151720.MAA00658@hda.com> from "Peter Dufault" at Mar 15, 95 12:20:30 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, here's a better idea for that,
make the code do two differnt things if sc_link->device->name == NULL
and then set it up so that this is the case during probe..
(and of course catch any other code that follows this chain)

(just an idea)
> 
> > Can we make that
> > aha0:0:0: bla-bla
> > the parenthesis serve no usefull purpose :-).
> 
> If we grunge around in the implementation we see what purpose it
> serves: simplicity.
> 
> >	if (strcmp(sc_link->device->name, "probe") != 0)
> >		printf("%s%d", sc_link->device->name, sc_link->dev_unit);
> >
> >	printf("(%s%d:%d:%d): ", sc_link->adapter->name, sc_link->adapter_unit,
> >		sc_link->target, sc_link->lun);		
> 
> So "probe" is now a reserved host adapter name and the new PROBE-1000
> driver will not work properly.
(boooo  hisssss :)
> 
> (Magic names?   Not in header files but repeated in two places?
> Oh-oh, someone else is going to bring me before the Software World Court)
Are you Mr Peter Dufault, of Hda?
"yes?"
I hereby serve you with this summons to the Software World Court
You are to appear before the court on tuesday of next week...

> 

+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 300 lakeside Dr. oakland CA. \___   ___ | country !
+- X_.---._/  USA+(510) 645-3137(wk)           \_/   \\            
          v




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0roz04-0003wHC>