sys/dev/atm/hfa/fore_load.c
static const char *
fore_pci_probe(pcici_t config_id, pcidi_t device_id)
{

	/*
	 * Initialize driver stuff
	 */
	if (fore_inited == 0) {
		if (fore_start())
			return (NULL);
	}

	if ((device_id & 0xffff) != FORE_VENDOR_ID)
		return (NULL);

	if (((device_id >> 16) & 0xffff) == FORE_PCA200E_ID)
                return ("FORE Systems PCA-200E ATM");

	return (NULL);
}
/*
 * Device probe routine
 * 
 * Determine if this driver will support the identified device.  If we claim
 * to support the device, our attach routine will (later) be called for the
 * device.
 *
 * Arguments:
 *	config_id	device's PCI configuration ID
 *	device_id	device's PCI Vendor/Device ID
 *
 * Returns:
 *	name 	device identification string
 *	NULL	device not claimed by this driver
 *
 */
Device probe routine

Determine if this driver will support the identified device.  If we claim
to support the device, our attach routine will (later) be called for the
device.

config_id       device's PCI configuration ID
device_id       device's PCI Vendor/Device ID

name    device identification string
NULL    device not claimed by this driver
Device probe routine Determine if this driver will support the identified device . If we claim to support the device our attach routine will ( later ) be called for the device . config_id device ' s PCI configuration ID device_id device ' s PCI Vendor / Device ID name device identification string NULL device not claimed by this driver
static const char *
fore_pci_probe(pcici_t config_id, pcidi_t device_id)
{
	if (fore_inited == 0) {
		if (fore_start())
			return (NULL);
	}
	if ((device_id & 0xffff) != FORE_VENDOR_ID)
		return (NULL);
	if (((device_id >> 16) & 0xffff) == FORE_PCA200E_ID)
                return ("FORE Systems PCA-200E ATM");
	return (NULL);
}
static const char * fore_pci_probe ( pcici_t config_id , pcidi_t device_id ) { if ( fore_inited == 0 ) { if ( fore_start ( ) ) return ( NULL ) ; } if ( ( device_id & 0xffff ) != FORE_VENDOR_ID ) return ( NULL ) ; if ( ( ( device_id >> 16 ) & 0xffff ) == FORE_PCA200E_ID ) return ( " " ) ; return ( NULL ) ; }
Device probe routine
Device probe routine
/*
	 * Initialize driver stuff
	 */