From owner-freebsd-hackers Fri Jan 12 06:27:12 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA12598 for hackers-outgoing; Fri, 12 Jan 1996 06:27:12 -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 GAA12593 for ; Fri, 12 Jan 1996 06:26:59 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id BAA09157; Sat, 13 Jan 1996 01:23:30 +1100 Date: Sat, 13 Jan 1996 01:23:30 +1100 From: Bruce Evans Message-Id: <199601121423.BAA09157@godzilla.zeta.org.au> To: bde@zeta.org.au, gibbs@freefall.freebsd.org Subject: Re: PnP problem... Cc: freebsd-hackers@FreeBSD.org, hasty@rah.star-gate.com, neil@synthcom.com, smpatel@wam.umd.edu, terry@lambert.org Sender: owner-hackers@FreeBSD.org Precedence: bulk >>Hmm. How do the ISA probes avoid rediscovering PCI/EISA devices? What >>happens if there is a "bt0 at isa?" (as specified in the config) on the >>ISA bus and another one on the PCI/EISA bus? I think this doesn't work >>now. >The only driver I know of that had this problem (the bt driver) handles >it by keeping a static array of ioaddrs/found information and will not >reprobe any conflicts. This should be moved to the configuration manager >(as the XXX comments in bt.c say) as there are other adapters like the >3c509 that fall into this category. I see. This depends on the PCI/EISA driver knowing something unique about the ISA device, or vice versa. You use the ISA iobase. Are there any standards at all for encoding ISA addresses in multi-mode hardware? BTW, all the ISA SCSI drivers still have an evil way of keeping track of the unit number. `xx_unit++' breaks multiple probing. >>>3) Probe all ISA devices. A probe returns whatever information can >>>be obtained non-invasively. ... >> >>That's almost no information. :-( >Depends on the card. >Most cards I've used have at most 5 different port addresses a user >can set. Some probes are non-invasive (only do reads), and these probes Some reads are invasive. Depends on the card :-). `the card' is the one that happens to be read from, not the one being probed for, so you can't guarantee not to hurt it. This is probably not a problem in practice. Bruce