Deleted Added
full compact
sscdisk.c (151897) sscdisk.c (177253)
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
9 * $FreeBSD: head/sys/ia64/ia64/sscdisk.c 151897 2005-10-31 15:41:29Z rwatson $
9 * $FreeBSD: head/sys/ia64/ia64/sscdisk.c 177253 2008-03-16 10:58:09Z rwatson $
10 *
11 */
12
13#include "opt_md.h"
14#include "opt_ski.h"
15
16#include <sys/param.h>
17#include <sys/systm.h>

--- 173 unchanged lines hidden (view full) ---

191}
192
193static void
194ssc_drvinit(void *unused)
195{
196 ssccreate(-1);
197}
198
10 *
11 */
12
13#include "opt_md.h"
14#include "opt_ski.h"
15
16#include <sys/param.h>
17#include <sys/systm.h>

--- 173 unchanged lines hidden (view full) ---

191}
192
193static void
194ssc_drvinit(void *unused)
195{
196 ssccreate(-1);
197}
198
199SYSINIT(sscdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE, ssc_drvinit,NULL)
199SYSINIT(sscdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE, ssc_drvinit,NULL);
200
201static void
202ssc_takeroot(void *junk)
203{
204 if (sscrootready)
205 rootdevnames[0] = "ufs:/dev/sscdisk0";
206}
207
208SYSINIT(ssc_root, SI_SUB_MOUNT_ROOT, SI_ORDER_FIRST, ssc_takeroot, NULL);
200
201static void
202ssc_takeroot(void *junk)
203{
204 if (sscrootready)
205 rootdevnames[0] = "ufs:/dev/sscdisk0";
206}
207
208SYSINIT(ssc_root, SI_SUB_MOUNT_ROOT, SI_ORDER_FIRST, ssc_takeroot, NULL);