From owner-freebsd-mobile Thu Dec 18 16:02:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA04634 for mobile-outgoing; Thu, 18 Dec 1997 16:02:57 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA04626 for ; Thu, 18 Dec 1997 16:02:52 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA20110; Thu, 18 Dec 1997 17:02:47 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA18354; Thu, 18 Dec 1997 17:02:46 -0700 Date: Thu, 18 Dec 1997 17:02:46 -0700 Message-Id: <199712190002.RAA18354@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ted Faber Cc: Nate Williams , ambrisko@whistle.com, freebsd-mobile@FreeBSD.ORG In-Reply-To: <199712182355.PAA24716@tnt.isi.edu> References: <199712182335.QAA18248@mt.sri.com> <199712182355.PAA24716@tnt.isi.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >> Nate, here's a patch to -current that addresses the issue Doug raised > >> of CL-PD6832's that are initialized to odd ports and also allows users > >> to specify a port for their pcic other than the bios default port. > > > >Ugh. I really dislike adding 'yet another' config option. .... > >So, wouldn't it be 'easier' to just hard-code the port to 0x3e0, since > >that's where the code expects to find it? > > Well, it doesn't *break* anything, but it's icky. :-) But it's less icky than requiring the user to set some magic flag to get it working (which will either be set by default, so why require them to set it), or it isn't set by default so it doesn't help them when installing on their system. > I just have a > preference for configurable systems. I agree however that making a > parameter configurable that no one con configure isn't worth much > (other than as incentive to change the unconfigurable stuff). I agree, but after dealing with the PAO stuff which had zillions of different configuration parameters that needed to be set, it became a nightmare to keep *one* boot floppy that worked with everything that didn't break everyone else. > This version always maps the 6832 to the port where the pcic driver > expects it to be listening. So if we ever make the port in the pcic > driver configurable the PCI driver will follow it. (The new > dependency is to find where the pcic driver expects the card to be). Cool, I like this much better. > Here's the patch: Can I have you and Doug test it, and if things work I'll commit it to the tree. :) Nate