=================================================================== RCS file: /cvs/funnyos/arch/testarm/dev/obio.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- funnyos/arch/testarm/dev/obio.c 2007/10/16 21:01:40 1.7 +++ funnyos/arch/testarm/dev/obio.c 2007/10/16 21:45:28 1.8 @@ -1,5 +1,5 @@ /* - * $Id: obio.c,v 1.7 2007/10/16 20:01:40 init Exp $ + * $Id: obio.c,v 1.8 2007/10/16 20:45:28 init Exp $ */ #include #include @@ -45,7 +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 */ + bhp->dh_ownerdd = self->dv_devdata; /* 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;