int __pmac check_media_bay(struct device_node *which_bay, int what)
int check_media_bay(struct device_node *which_bay, int what)
int __pmac check_media_bay(struct device_node *which_bay, int what){#ifdef CONFIG_BLK_DEV_IDE	int	i;	for (i=0; i<media_bay_count; i++)		if (media_bays[i].mdev && which_bay == media_bays[i].mdev->ofdev.node) {			if ((what == media_bays[i].content_id) && media_bays[i].state == mb_up)				return 0;			media_bays[i].cd_index = -1;			return -EINVAL;		}#endif /* CONFIG_BLK_DEV_IDE */	return -ENODEV;}