int bus, bbn; 
unsigned long bus, bbn; 
static int get_root_bridge_busnr(acpi_handle handle){	acpi_status status;	int bus, bbn;	struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };	acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer);	status = acpi_evaluate_integer(handle, METHOD_NAME__BBN, NULL,				       (unsigned long *)&bbn);	if (status == AE_NOT_FOUND) {		/* Assume bus = 0 */		printk(KERN_INFO PREFIX		       "Assume root bridge [%s] bus is 0\n",		       (char *)buffer.pointer);		status = AE_OK;		bbn = 0;	}	if (ACPI_FAILURE(status)) {		bbn = -ENODEV;		goto exit;	}	if (bbn > 0)		goto exit;	/* _BBN in some systems return 0 for all root bridges */	bus = -1;	status = acpi_walk_resources(handle, METHOD_NAME__CRS,				     do_root_bridge_busnr_callback, &bus);	/* If _CRS failed, we just use _BBN */	if (ACPI_FAILURE(status) || (bus == -1))		goto exit;	/* We select _CRS */	if (bbn != bus) {		printk(KERN_INFO PREFIX		       "_BBN and _CRS returns different value for %s. Select _CRS\n",		       (char *)buffer.pointer);		bbn = bus;	}      exit:	acpi_os_free(buffer.pointer);	return bbn;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/51b190b304bbeb1090ba20b0623d39917fa62997/glue.c/clean/drivers/acpi/glue.c