=================================================================== RCS file: /cvs/funnyos/arch/testarm/dev/obio.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- funnyos/arch/testarm/dev/obio.c 2007/10/16 20:05:57 1.6 +++ funnyos/arch/testarm/dev/obio.c 2007/10/16 21:01:40 1.7 @@ -1,5 +1,5 @@ /* - * $Id: obio.c,v 1.6 2007/10/16 19:05:57 init Exp $ + * $Id: obio.c,v 1.7 2007/10/16 20:01:40 init Exp $ */ #include #include @@ -45,6 +45,7 @@ bhp->bus_write_1 = obio_write_1; bhp->bus_write_2 = obio_write_2; bhp->bus_write_4 = obio_write_4; + bhp->dh_ownerdevp = self; /* XXX UGLY bus_{read|write} stuff will access bus device from bus_handle using this */ /* expose our bus_handle to the world */ self->dv_aux = bhp;