From owner-freebsd-mobile Tue Jan 18 8:58:17 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from luke.immure.com (luke.immure.com [207.8.42.74]) by hub.freebsd.org (Postfix) with ESMTP id 14B9414C09 for ; Tue, 18 Jan 2000 08:58:14 -0800 (PST) (envelope-from bob@luke.immure.com) Received: (from bob@localhost) by luke.immure.com (8.9.3/8.9.3) id KAA45258; Tue, 18 Jan 2000 10:58:10 -0600 (CST) (envelope-from bob) Date: Tue, 18 Jan 2000 10:58:10 -0600 From: Bob Willcox To: Michael Robinson Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 3Com 3CCFE574BT works. Message-ID: <20000118105810.A45085@luke.immure.com> Reply-To: Bob Willcox References: <200001180213.KAA02221@netrinsics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <200001180213.KAA02221@netrinsics.com>; from Michael Robinson on Tue, Jan 18, 2000 at 10:13:01AM +0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, I was finally able to get my laptop installed. What I did to make it work was to use the system configuration to disable all devices that I don't have (may not have been necessary), Assign IRQ 3 to the pic0 (it was 10), then select the option (Option 1, I believe) from the pccard IRQ dialog box that assigned IRQ 10 to my ethernet card. With that the network performance was where I expected it to be :-) I don't know if this is an "official" way to do it, but I noticed that install included the IRQ specification as flags to pccardd in /etc/rc.conf. i.e., it created the line: pccardd_flags="-i 10 -i 5" in the file. Seems this is how it sets the IRQ(s) to use. Note that after installation my system properly booted and configured my ethernet card. :-) Thanks, Bob On Tue, Jan 18, 2000 at 10:13:01AM +0800, Michael Robinson wrote: > Bob Willcox writes: > >No, unfortunately the userconfig does not offer any way (that I could > >discover) to set the IRQ to be used by a pccard. > > The official way to assign an IRQ to a pccard (under -STABLE at least) is > to hard-code the imask in pccard_alloc_intr() in sys/pccard/pccard.c, > rebuild your kernel, and reboot. > > For example, to get my 3C589C to use IRQ 9 (the only one it will accept), > I added the following line: > > imask |= 1ul << 9; > > If you need to install using a pccard, you might have to build the kernel on > another machine, and make a new boot floppy. > > -Michael Robinson > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message -- Bob Willcox Don't tell me that worry doesn't do any good. bob@pmr.com I know better. The things I worry about don't Austin, TX happen. -- Watchman Examiner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message