From owner-freebsd-stable Tue Feb 13 08:10:27 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA19912 for stable-outgoing; Tue, 13 Feb 1996 08:10:27 -0800 (PST) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA19906 Tue, 13 Feb 1996 08:10:24 -0800 (PST) Message-Id: <199602131610.IAA19906@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: se@ZPR.Uni-Koeln.DE (Stefan Esser) cc: Richard J Kuhns , freebsd-stable@freebsd.org Subject: Re: One problem && one question In-reply-to: Your message of "Tue, 13 Feb 1996 16:28:43 +0100." <199602131528.AA05771@Sysiphos> Date: Tue, 13 Feb 1996 08:10:24 -0800 From: "Justin T. Gibbs" Sender: owner-stable@freebsd.org Precedence: bulk >On Feb 13, 9:39, Richard J Kuhns wrote: >} Subject: Re: One problem && one question >} Justin T. Gibbs writes: >} > Patch round two: >} >} Sorry, still no cigar. I rebooted this machine several times this morning, >} trying to copy the boot messages. I guess I'd better set up a minimal >} configuration to test this so the bt messages will remain on-screen. >} >} At any rate, I believe it looked like: >} >} int a irq 10 pci 0:13 >} mapreg[10] type 1 addr 0x00006000 size ffff0004 >} bt0: Invalid base address > >The region size calculation seems broken! The driver only cares about the I/O port, which isn't reported above. I've seen boot -v output from bt946 cards before, and they at least report a sane I/O port address like 0x330 (when listed as a device without a driver) - never looked at the size, but it should be 4. I wouldn't bother hacking up the memory size calculation just for this card since we won't even use it. I just sent him an updated patch, that corrects some mistakes I made in the last one, but I did notice something odd in the PCI code: if (bootverbose) { for (reg=PCI_MAP_REG_START; regpb_read (tag, reg); if ((data&~7)==0) continue; switch (data&7) { case 1: case 5: printf (" map(%x): io(%lx)\n", reg, data & ~3); break; I guess that everything must be quad-word aligned so that is why you & ~3? Is this in the spec even for I/O ports? >-- > Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 > Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 > ============================================================================= >= > http://www.zpr.uni-koeln.de/~se -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================