From owner-aic7xxx Sun Jun 6 10: 5:20 1999 Delivered-To: aic7xxx@freebsd.org Received: from mail1.its.rpi.edu (mail1.its.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id EF4FB1577E for ; Sun, 6 Jun 1999 10:05:14 -0700 (PDT) (envelope-from stimmj@rpi.edu) Received: from vcmr-19.rcs.rpi.edu (stimmj@vcmr-19.rcs.rpi.edu [128.113.113.12]) by mail1.its.rpi.edu (8.8.8/8.8.6) with ESMTP id NAA202224; Sun, 6 Jun 1999 13:05:13 -0400 Received: from localhost (stimmj@localhost) by vcmr-19.rcs.rpi.edu (8.8.5/8.8.6) with SMTP id KAA57920; Sun, 6 Jun 1999 10:05:13 -0700 X-Authentication-Warning: vcmr-19.rcs.rpi.edu: stimmj owned process doing -bs Date: Sun, 6 Jun 1999 10:05:12 -0700 (PDT) From: Jonathan Stimmel X-Sender: stimmj@vcmr-19.rcs.rpi.edu Reply-To: Jonathan Stimmel To: "Robert W. Rowe" Cc: "J. Alan Eldridge" , aic7xxx@FreeBSD.ORG Subject: Re: aha2930u2 In-Reply-To: <3.0.5.32.19990606103242.009ccb00@mail.winstar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 6 Jun 1999, Robert W. Rowe wrote: > >Second q: in brief, how does the driver go about assigning devices? by PCI > >slot number? Or, in other words, what do I do to make sure my existing > devices > >end up being the same linux devices after I install a second host adapter? Linux assigns /dev/ devices in the order that it finds them; so if you have: - adaptor 1 : hard drives at 0 & 2, CDROM at 3 - adaptor 2 : hard drives at 1 & 5, CDROM at 3 and Linux scans the first adaptor first, you'll get the following: /dev/sda == adaptor 1, device 0 /dev/sdb == adaptor 1, device 2 /dev/sdc == adaptor 2, device 1 /dev/sdd == adaptor 2, device 5 /dec/scd0 == adaptor 1, device 3 /dev/scd1 == adaptor 2, device 3 If the new adaptor (adaptor 2) is recognised first, then you'll mess up your current devices. I'm afraid I don't know whether the order is determined by PCI slot or IRQ number. This is all assuming that both adaptors are recognised properly by the kernel; I don't know what kind of "gotchas" are involved in installing multiple controllers (I believe the documentation on modules talks about this scenario a bit...). -- Jonathan Stimmel Pager: 415-253-7202 jstimmel@taos.com jstimmel.page@taos.com 1180 Reed Ave #55 Home: 408-244-5258 Sunnyvale, CA 94086 Cell: 650-520-4164 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message