]> git.ozlabs.org Git - yaboot.git/blobdiff - second/fs.c
The following patch fix reverts removal of some lines for the netboot patch.
[yaboot.git] / second / fs.c
index 1744f7de3f28951cafd3d9bddc8fa10e069fcf06..2ae70669eb7652fd1c9f1b142f0c0a7e622aca55 100644 (file)
@@ -1,22 +1,24 @@
 /*
-    FileSystems common definitions
-
-    Copyright (C) 1999 Benjamin Herrenschmidt
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
+ *  fs.c - Filesystem common definitions
+ *
+ *  Copyright (C) 2001, 2002 Ethan Benson
+ *
+ *  Copyright (C) 1999 Benjamin Herrenschmidt
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
 
 #include "stdlib.h"
 #include "fs.h"
@@ -39,15 +41,15 @@ extern const struct fs_t        reiserfs_filesystem;
 
 /* Filesystem handlers yaboot knows about */
 static const struct fs_t *block_filesystems[] = {
-       &ext2_filesystem,               /* ext2 */
+     &ext2_filesystem,         /* ext2 */
 #ifdef CONFIG_FS_XFS
-       &xfs_filesystem,                /* XFS */
+     &xfs_filesystem,                /* XFS */
 #endif /* CONFIG_FS_XFS */
 #ifdef CONFIG_FS_REISERFS
-       &reiserfs_filesystem,           /* reiserfs */
+     &reiserfs_filesystem,             /* reiserfs */
 #endif /* CONFIG_FS_REISERFS */
-       &of_filesystem,                 /* HFS/HFS+, ISO9660, UDF, UFS */
-       NULL
+     &of_filesystem,                   /* HFS/HFS+, ISO9660, UDF, UFS */
+     NULL
 };
 
 const struct fs_t *fs_of = &of_filesystem;              /* needed by ISO9660 */
@@ -64,3 +66,10 @@ fs_open(struct boot_file_t *file, const char *dev_name,
 
      return *fs;
 }
+
+/* 
+ * Local variables:
+ * c-file-style: "k&r"
+ * c-basic-offset: 5
+ * End:
+ */