From owner-freebsd-commit Wed Apr 5 10:24:59 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA24124 for commit-outgoing; Wed, 5 Apr 1995 10:24:59 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA24109 for cvs-sys-outgoing; Wed, 5 Apr 1995 10:24:42 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA24101 ; Wed, 5 Apr 1995 10:24:31 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id CAA25531; Thu, 6 Apr 1995 02:55:22 +1000 Date: Thu, 6 Apr 1995 02:55:22 +1000 From: Bruce Evans Message-Id: <199504051655.CAA25531@godzilla.zeta.org.au> To: ache@astral.msk.su, phk@ref.tfs.com Subject: Re: cvs commit: src/sys/i386/isa isa.c Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Sender: commit-owner@FreeBSD.org Precedence: bulk >>> Modified: sys/i386/isa isa.c >>> Log: >>> Print "on motherboard" for isa? devices with id_iobase == 0 >>Should be id_iobase < 0x100... >I don't write here "only for" :-) Sorry, it's wrong for another reason. id_iobase == 0 is the default magic value for all devices without i/o ports (all memory mapped devices...). It's a stupid magic value (0 is a real port) but there is unlikely to ever be a driver that uses port 0 directly, so it is good enough. The pca driver is on the motherboard but its id_iobase is only 0 because it lies - see other mail. Bruce