int __pmac check_media_bay_by_base(unsigned long base, int what)
int check_media_bay_by_base(unsigned long base, int what)
int __pmac check_media_bay_by_base(unsigned long base, int what){#ifdef CONFIG_BLK_DEV_IDE	int	i;	for (i=0; i<media_bay_count; i++)		if (media_bays[i].mdev && base == (unsigned long) media_bays[i].cd_base) {			if ((what == media_bays[i].content_id) && media_bays[i].state == mb_up)				return 0;			media_bays[i].cd_index = -1;			return -EINVAL;		} #endif		return -ENODEV;}