From owner-freebsd-hackers Fri Jun 21 13:22:41 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA24858 for hackers-outgoing; Fri, 21 Jun 1996 13:22:41 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA24810 for ; Fri, 21 Jun 1996 13:22:31 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA13438 for ; Fri, 21 Jun 1996 22:22:25 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA11181 for freebsd-hackers@freebsd.org; Fri, 21 Jun 1996 22:22:24 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id WAA22722 for freebsd-hackers@freebsd.org; Fri, 21 Jun 1996 22:06:08 +0200 (MET DST) From: J Wunsch Message-Id: <199606212006.WAA22722@uriah.heep.sax.de> Subject: Re: wd? numbering question To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Fri, 21 Jun 1996 22:06:07 +0200 (MET DST) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199606210835.BAA00819@seagull.rtd.com> from Don Yuniskis at "Jun 21, 96 01:35:25 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Don Yuniskis wrote: > I think you'll get bit because the /dev/wd* entries would need a different > minor device encoding scheme (I'm assuming he's asking to have wd0 be the > *first* wd drive and wd1 be the second -- regardless of which controller! > so wd1 could end up on wdc1) The SCSI drivers know how to handle it, so i don't see why the wdc driver cannot be taught to do it similarly. Of course, some parts of the attach routine have to be rewritten, since the fixed assignment between wd? and wdc? must be relinguished. Other parts of config(8) need to be rewritten in order to allow both variants: disk wd0 on wdc0 drive 0 disk wd1 on wdc? This ensures that wd0 will always be hard-wired to the first drive of the first controller, while wd1 would be found on any controller. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)