From owner-freebsd-hackers Tue Apr 8 08:14:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA13225 for hackers-outgoing; Tue, 8 Apr 1997 08:14:41 -0700 (PDT) Received: from etinc.com (et-gw-fr1.etinc.com [204.141.244.98]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA13213 for ; Tue, 8 Apr 1997 08:14:36 -0700 (PDT) Received: from ntws (ntws.etinc.com [204.141.95.142]) by etinc.com (8.8.3/8.6.9) with SMTP id LAA11611 for ; Tue, 8 Apr 1997 11:19:51 -0400 (EDT) Message-Id: <3.0.32.19970408111312.00b28560@etinc.com> X-Sender: dennis@etinc.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 08 Apr 1997 11:13:14 -0400 To: hackers@freebsd.org From: dennis Subject: pci probes with multiple "units" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk What is the preferred method (assuming that there is more than one way to do it) to handle multiple multiport devices in Freebsd. It seems (I could be wrong) that the *first* adapter always probes/attaches as unit 0 (even if the declaration is... device de4 for example), the *second* as 1, etc. If you have 2 boards with 4 ports each, logically you would like to declare: device de0 device de4 and have the device names correspond to the actual port device numbers, but I suspect that this won't work (I havent actually tried it yet). It can certainly be done manually by calling if_attach with the correct number, but is there a better, physical way to do it so that the probes are done with the root/first port on the board? thanks, Dennis