On Sat, 12 Feb 2000, Doug Rabson wrote:

> This should be fine, thanks. Could you try this patch for me - I think its
> just caused by an uninitialised variable:
> 
> Index: pcibus.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/i386/isa/pcibus.c,v
> retrieving revision 1.55
> diff -u -r1.55 pcibus.c
> --- pcibus.c  2000/02/09 20:05:30     1.55
> +++ pcibus.c  2000/02/12 13:56:25
> @@ -443,6 +443,7 @@
>       probe.hose = 0;
>       probe.bus = 0;
>       for (probe.slot = 0; probe.slot <= PCI_SLOTMAX; probe.slot++) {
> +             probe.func = 0;
>               hdrtype = pci_cfgread(&probe, PCIR_HEADERTYPE, 1);
>               if (hdrtype & PCIM_MFDEV)
>                       pcifunchigh = 7;

Yes, that worked like a charm.  Thanks!
I thought it had to be something silly like an uninitialized variable,
IanH and I just couldn't seem to find it.  :)

This should probably be committed to 4.0-RC.

Later......                                             <oug>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to