From owner-freebsd-current Tue Jan 9 02:10:25 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28153 for current-outgoing; Tue, 9 Jan 1996 02:10:25 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA27921 for ; Tue, 9 Jan 1996 02:07:59 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id UAA14398; Tue, 9 Jan 1996 20:52:44 +1100 Date: Tue, 9 Jan 1996 20:52:44 +1100 From: Bruce Evans Message-Id: <199601090952.UAA14398@godzilla.zeta.org.au> To: davidg@Root.COM, msmith@atrad.adelaide.edu.au Subject: Re: Disposition of unknown PCI ethernet solved Cc: current@freebsd.org, james@else.net Sender: owner-current@freebsd.org Precedence: bulk >> Early ISA controllers only decode 10 bits worth. The convention for EISA >> is slot # * 0x1000. >Ok, kill it 8) The fix would just be : >! puthelp(" IO Port address (Hexadecimal, 0x1-0xffff)"); >! ret = editval(18,18,5,1,0x1,0xffff,&(dev->iobase),(dev->attrib & FLG_FIXIOBASE)); This is still missing support for ports 0 and 0x10000-0xffffffff :-). You have to uses the command line userconfig to set these. "Port" 0xffffffff is particularly important, since it means "autoconfigure" for at least lpt and matcd. The command line userconfig must also be used to change the unit and flags fields. The visual config doesn't support editing the unit and only allows editing a version of the flags that is neither intitialized from nor written to the device struct. Bruce