/* * $Id: footbridge.c,v 1.1 2008/08/08 13:18:16 nbrk Exp $ */ /* * DC21285 core logic. * TODO. */ #include #include /* * Autoconf glue. */ int footbridge_match(struct device *parent, void *aux); int footbridge_attach(struct device *parent, struct device *self, void *aux); struct driver footbridge_drv = { "footbridge", /* name */ 1 ,/* datasize */ footbridge_match, /* match */ footbridge_attach, /* attach */ NULL, /* detach */ -1 /* nunits XXX */ }; int footbridge_match(struct device *parent, void *aux) { return(1); } int footbridge_attach(struct device *parent, struct device *self, void *aux) { printk("DC21285 Core Logic\n"); /* just proxy aux (which is a hostio tag) */ config_search_children(self, aux); }