From owner-freebsd-hackers Wed Mar 15 15:06:58 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA01151 for hackers-outgoing; Wed, 15 Mar 1995 15:06:58 -0800 Received: from tfs.com (mailhub.tfs.com [140.145.250.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA01145 for ; Wed, 15 Mar 1995 15:06:57 -0800 Received: by tfs.com (smail3.1.28.1) Message-Id: From: julian@tfs.com (Julian Elischer) Subject: Re: SCSI probe cleaned up To: dufault@hda.com (Peter Dufault) Date: Wed, 15 Mar 1995 11:44:56 -0800 (PST) Cc: rgrimes@gndrsh.aac.dev.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199503151720.MAA00658@hda.com> from "Peter Dufault" at Mar 15, 95 12:20:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1459 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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