/* Functions for powering up/down the bay, puts the bay device into reset state as well  */
static void ohare_mb_power(struct media_bay_info *bay, int on_off)
/* Functions for powering up/down the bay, puts the bay device into reset state as well  */
static void ohare_mb_power(struct media_bay_info *bay, int on_off)
{
	if (on_off) {
		MB_BIC(bay, OHARE_FCR, OH_BAY_RESET_N);
		MB_BIC(bay, OHARE_FCR, OH_BAY_POWER_N);
	} else {
		MB_BIC(bay, OHARE_FCR, OH_BAY_DEV_MASK);
		MB_BIC(bay, OHARE_FCR, OH_FLOPPY_ENABLE);
		MB_BIS(bay, OHARE_FCR, OH_BAY_POWER_N);
		MB_BIS(bay, OHARE_FCR, OH_BAY_RESET_N);
		MB_BIS(bay, OHARE_FCR, OH_IDE1_RESET_N);
	}
	MB_BIC(bay, OHARE_MBCR, 0x00000F00);
}