FreeBSD/sys/dev/viawd/viawd.c
/* Look for a supported VIA south bridge. */
Look for a supported VIA south bridge.
Look for a supported VIA south bridge .
static struct viawd_device *
viawd_find(device_t dev)
{
	struct viawd_device *id;
	if (pci_get_vendor(dev) != VENDORID_VIA)
		return (NULL);
	for (id = viawd_devices; id->desc != NULL; id++)
		if (pci_get_device(dev) == id->device)
			return (id);
	return (NULL);
}
static struct viawd_device * viawd_find ( device_t dev ) { struct viawd_device * id ; if ( pci_get_vendor ( dev ) != VENDORID_VIA ) return ( NULL ) ; for ( id = viawd_devices ; id -> desc != NULL ; id ++ ) if ( pci_get_device ( dev ) == id -> device ) return ( id ) ; return ( NULL ) ; }
Look for a supported VIA south bridge.
Look for a supported VIA south bridge .