devinfo_misc.c revision 92f381329ebf1c2209df9608670666b32b291e05
/***************************************************************************
*
* devinfo_misc : misc devices
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Licensed under the Academic Free License version 2.1
*
**************************************************************************/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <string.h>
#include <libdevinfo.h>
#include "../osspec.h"
#include "../logger.h"
#include "../hald.h"
#include "../hald_dbus.h"
#include "../device_info.h"
#include "../util.h"
#include "devinfo_misc.h"
NULL,
NULL,
NULL,
NULL,
};
NULL,
NULL,
NULL,
NULL,
};
NULL,
NULL,
NULL,
NULL,
};
static HalDevice *
{
return (NULL);
}
d = hal_device_new ();
hal_device_set_udi (d, "/org/freedesktop/Hal/devices/computer");
}
/* all devinfo devices belong to the 'local' branch */
local_d = hal_device_new ();
return (local_d);
}
static HalDevice *
{
HalDevice *d;
return (NULL);
}
d = hal_device_new ();
hal_device_add_capability (d, "processor");
return (d);
}
static HalDevice *
{
char *driver_name;
const char *parent_path;
HalDevice *d;
/* ignore all children of the 'pseudo' node except lofi */
if ((parent_path != NULL) &&
if ((driver_name != NULL) &&
return (NULL);
}
}
}
d = hal_device_new ();
return (d);
}