=================================================================== RCS file: /cvs/funnyos/dev/root.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- funnyos/dev/root.c 2007/10/16 09:41:04 1.1 +++ funnyos/dev/root.c 2007/10/25 21:04:12 1.2 @@ -1,10 +1,17 @@ /* - * $Id: root.c,v 1.1 2007/10/16 08:41:04 init Exp $ + * $Id: root.c,v 1.2 2007/10/25 20:04:12 init Exp $ */ #include #include #include +/* + * System root device. + * All other will be created/destroyed dynamically with devconfig. + */ +struct device *rootdev; + + int root_attach(struct device *, uint32_t, uint8_t); /* bogus root_dd */ @@ -19,12 +26,6 @@ /* detach */ NULL }; - -/* - * System root device. - * All other will be created/destroyed dynamically with devconfig. - */ -struct device *rootdev; int root_attach(struct device *self, uint32_t loc, uint8_t flags)