Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 1995 02:55:22 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        ache@astral.msk.su, phk@ref.tfs.com
Cc:        CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com
Subject:   Re: cvs commit: src/sys/i386/isa isa.c
Message-ID:  <199504051655.CAA25531@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>>   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



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