patch-2.4.18 linux/include/asm-ppc/mediabay.h
Next file: linux/include/asm-ppc/ohare.h
Previous file: linux/include/asm-ppc/machdep.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Wed Dec 26 16:36:12 2001
- Orig file:
linux.orig/include/asm-ppc/mediabay.h
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/include/asm-ppc/mediabay.h linux/include/asm-ppc/mediabay.h
@@ -1,5 +1,5 @@
/*
- * BK Id: SCCS/s.mediabay.h 1.5 05/17/01 18:14:25 cort
+ * BK Id: SCCS/s.mediabay.h 1.8 12/01/01 20:09:11 benh
*/
/*
* mediabay.h: definitions for using the media bay
@@ -12,10 +12,13 @@
#ifdef __KERNEL__
-#define MB_FD 0 /* media bay contains floppy drive */
-#define MB_FD1 1 /* media bay contains floppy drive */
-#define MB_CD 3 /* media bay contains ATA drive such as CD */
-#define MB_NO 7 /* media bay contains nothing */
+#define MB_FD 0 /* media bay contains floppy drive (automatic eject ?) */
+#define MB_FD1 1 /* media bay contains floppy drive (manual eject ?) */
+#define MB_SOUND 2 /* sound device ? */
+#define MB_CD 3 /* media bay contains ATA drive such as CD or ZIP */
+#define MB_PCI 5 /* media bay contains a PCI device */
+#define MB_POWER 6 /* media bay contains a Power device (???) */
+#define MB_NO 7 /* media bay contains nothing */
void media_bay_init(void);
int check_media_bay(struct device_node *which_bay, int what);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)