version 1.6.4.1, 2008/05/16 02:24:28 |
version 1.6.4.2, 2009/05/04 08:12:49 |
Line 74 CFATTACH_DECL(toaster, sizeof(struct toa |
|
Line 74 CFATTACH_DECL(toaster, sizeof(struct toa |
|
static struct toaster_softc *toaster_sc = NULL; |
static struct toaster_softc *toaster_sc = NULL; |
|
|
static int |
static int |
toaster_match(parent, match, aux) |
toaster_match(struct device *parent, struct cfdata *match, void *aux) |
struct device *parent; |
|
struct cfdata *match; |
|
void *aux; |
|
{ |
{ |
/* No more than one toaster per system */ |
/* No more than one toaster per system */ |
if (toaster_sc == NULL) |
if (toaster_sc == NULL) |
Line 222 burner_sysctl(SYSCTLFN_ARGS) |
|
Line 219 burner_sysctl(SYSCTLFN_ARGS) |
|
|
|
|
|
static void |
static void |
toaster_attach(parent, self, aux) |
toaster_attach(struct device *parent, struct device *self, void *aux) |
struct device *parent; |
|
struct device *self; |
|
void *aux; |
|
{ |
{ |
struct toaster_softc *sc = (void *)self; |
struct toaster_softc *sc = (void *)self; |
struct tsdio_attach_args *taa = aux; |
struct tsdio_attach_args *taa = aux; |