Annotation of prex-old/dev/arm/cats/footbridge.c, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * $Id$
! 3: */
! 4: /*
! 5: * DC21285 core logic.
! 6: * TODO.
! 7: */
! 8: #include <driver.h>
! 9: #include <bus.h>
! 10:
! 11: /*
! 12: * Autoconf glue.
! 13: */
! 14: int footbridge_match(struct device *parent, void *aux);
! 15: int footbridge_attach(struct device *parent, struct device *self, void *aux);
! 16:
! 17: struct driver footbridge_drv = {
! 18: "footbridge", /* name */
! 19: 1 ,/* datasize */
! 20: footbridge_match, /* match */
! 21: footbridge_attach, /* attach */
! 22: NULL, /* detach */
! 23: -1 /* nunits XXX */
! 24: };
! 25:
! 26:
! 27: int
! 28: footbridge_match(struct device *parent, void *aux)
! 29: {
! 30: return(1);
! 31: }
! 32:
! 33:
! 34: int
! 35: footbridge_attach(struct device *parent, struct device *self, void *aux)
! 36: {
! 37: printk("DC21285 Core Logic\n");
! 38:
! 39: /* just proxy aux (which is a hostio tag) */
! 40:
! 41: config_search_children(self, aux);
! 42: }
! 43:
CVSweb