patch-2.3.99-pre7 linux/drivers/macintosh/mediabay.c
Next file: linux/drivers/net/3c501.c
Previous file: linux/drivers/isdn/sc/timer.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri May 5 12:22:54 2000
- Orig file:
v2.3.99-pre6/linux/drivers/macintosh/mediabay.c
- Orig date:
Thu Feb 10 17:11:09 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/macintosh/mediabay.c linux/drivers/macintosh/mediabay.c
@@ -252,7 +252,7 @@
MBDBG("mediabay%d: powering up\n", which);
} else {
feature_clear(mb->dev_node, FEATURE_Mediabay_floppy_enable);
- feature_clear(mb->dev_node, FEATURE_Mediabay_IDE_enable);
+ feature_clear(mb->dev_node, FEATURE_IDE1_enable);
feature_clear(mb->dev_node, FEATURE_Mediabay_PCI_enable);
feature_clear(mb->dev_node, FEATURE_SWIM3_enable);
feature_clear(mb->dev_node, FEATURE_Mediabay_power);
@@ -271,9 +271,9 @@
switch (id) {
case MB_CD:
- feature_set(bay->dev_node, FEATURE_Mediabay_IDE_enable);
+ feature_set(bay->dev_node, FEATURE_IDE1_enable);
udelay(10);
- feature_set(bay->dev_node, FEATURE_Mediabay_IDE_reset);
+ feature_set(bay->dev_node, FEATURE_IDE1_reset);
printk(KERN_INFO "media bay %d contains a CD-ROM drive\n", which);
break;
case MB_FD:
@@ -397,7 +397,7 @@
}
#ifdef CONFIG_BLK_DEV_IDE
MBDBG("mediabay%d: waiting IDE reset (kind:%d)\n", i, bay->content_id);
- feature_clear(bay->dev_node, FEATURE_Mediabay_IDE_reset);
+ feature_clear(bay->dev_node, FEATURE_IDE1_reset);
bay->timer = MS_TO_HZ(MB_IDE_WAIT);
bay->state = mb_ide_resetting;
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)