On Mon, May 24, 2010 at 08:29:49PM +0000, Paul Goyette wrote:
> Module Name:  src
> Committed By: pgoyette
> Date:         Mon May 24 20:29:49 UTC 2010
> 
> Modified Files:
>       src/sys/arch/i386/pci: gcscehci.c
>       src/sys/dev/cardbus: ehci_cardbus.c ohci_cardbus.c uhci_cardbus.c
>       src/sys/dev/pci: azalia.c cs4280.c ehci_pci.c ohci_pci.c uhci_pci.c
> 
> Log Message:
> Update all callers of the pci_find{vendor,product} routines to now call
> these routines through their global pointers.

It was not necessary to change all of the pci_find{vendor,product}
calls, was it?  You could have tucked the call through
pci_find{vendor,product}_vec into pci_find{vendor,product}() like this:

const char *
pci_findvendor(pcireg_t id)
{
        return (*pci_findvendor_vec)(id);
}

Dave

-- 
David Young             OJC Technologies
dyo...@ojctech.com      Urbana, IL * (217) 278-3933

Reply via email to