From owner-freebsd-new-bus Sat Jan 15 15:29:19 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id AE6A914D50 for ; Sat, 15 Jan 2000 15:29:17 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA56045 for ; Sat, 15 Jan 2000 16:29:16 -0700 (MST) (envelope-from imp@harmony.village.org) Received: (from imp@localhost) by harmony.village.org (8.9.3/8.8.3) id QAA01432 for new-bus@freebsd.org; Sat, 15 Jan 2000 16:29:11 -0700 (MST) Date: Sat, 15 Jan 2000 16:29:11 -0700 (MST) From: Warner Losh Message-Id: <200001152329.QAA01432@harmony.village.org> To: new-bus@freebsd.org Subject: Hints vs unit numbers Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just received some patches for a pci sio attachment for current. One problem is that pci is scanned before isa. All the devices that were hard wired with hints shift one because the unit numbers they were trying to use are already in use if the pci modem attaches to sio0. What's the right thing to do here? Cope with not being able to hardwire devices to unit numbers, or is there some trick that I've missed for doing this.... Thanks much Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Sat Jan 15 15:40: 2 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 83C711513D for ; Sat, 15 Jan 2000 15:39:59 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id SAA30259; Sat, 15 Jan 2000 18:39:50 -0500 (EST) Date: Sat, 15 Jan 2000 18:39:50 -0500 (EST) From: "Matthew N. Dodd" To: Warner Losh Cc: new-bus@FreeBSD.ORG Subject: Re: Hints vs unit numbers In-Reply-To: <200001152329.QAA01432@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 15 Jan 2000, Warner Losh wrote: > I just received some patches for a pci sio attachment for current. > One problem is that pci is scanned before isa. All the devices that > were hard wired with hints shift one because the unit numbers they > were trying to use are already in use if the pci modem attaches to > sio0. What's the right thing to do here? Cope with not being able to > hardwire devices to unit numbers, or is there some trick that I've > missed for doing this.... Weird. Hint devices 'already exist' before any other devices unless the ISA hint identify method runs after the PCI code has done its work. If this is the case then we somehow need to run it before. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Sat Jan 15 15:41:39 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id E7BB414CD0 for ; Sat, 15 Jan 2000 15:41:31 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA56104; Sat, 15 Jan 2000 16:41:30 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA02150; Sat, 15 Jan 2000 16:41:25 -0700 (MST) Message-Id: <200001152341.QAA02150@harmony.village.org> To: "Matthew N. Dodd" Subject: Re: Hints vs unit numbers Cc: new-bus@FreeBSD.ORG In-reply-to: Your message of "Sat, 15 Jan 2000 18:39:50 EST." References: Date: Sat, 15 Jan 2000 16:41:24 -0700 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message "Matthew N. Dodd" writes: : Weird. Hint devices 'already exist' before any other devices unless the : ISA hint identify method runs after the PCI code has done its work. If : this is the case then we somehow need to run it before. Tell me about it... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message