Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2002 12:30:17 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        phk@critter.freebsd.dk
Cc:        dillon@apollo.backplane.com, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: [src] cvs commit: src/sys/i386/pci pci_bus.c 
Message-ID:  <20021020.123017.75895671.imp@bsdimp.com>
In-Reply-To: <53727.1035138112@critter.freebsd.dk>
References:  <20021020.122029.53328411.imp@bsdimp.com> <53727.1035138112@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <53727.1035138112@critter.freebsd.dk>
            Poul-Henning Kamp <phk@critter.freebsd.dk> writes:
: In message <20021020.122029.53328411.imp@bsdimp.com>, "M. Warner Losh" writes:
: 
: >I susepct the right fix is:
: >
: >			if (id == 0xffffffff)
: >				continue;
: 
: The question is if we want to have a
: 	#define PCI_NOTHING	0xffffffff
: somewhere...

We'd need it for each width.  The PCI standard defines that no
hardware decoding the address is to return 0xff for each of the bytes
read.

PCI_NOTHING_32
PCI_NOTHING_16 and
PCI_NOTHING_8

seems a little silly to me.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021020.123017.75895671.imp>