=================================================================== RCS file: /cvs/funnyos/sys/bus.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- funnyos/sys/bus.h 2007/10/16 19:31:07 1.3 +++ funnyos/sys/bus.h 2007/10/16 20:57:54 1.4 @@ -1,5 +1,5 @@ /* - * $Id: bus.h,v 1.3 2007/10/16 18:31:07 init Exp $ + * $Id: bus.h,v 1.4 2007/10/16 19:57:54 init Exp $ */ #ifndef _SYS_BUS_H #define _SYS_BUS_H @@ -11,6 +11,7 @@ * Device drivers attached to bus aquire bus_handle to perform all bus i/o. */ struct bus_handle { + struct device *bh_ownerdevp; /* device that owns this handler XXX kill that it is ugly */ uint8_t (*bus_read_1)(void *ddp, uint32_t addr); uint16_t (*bus_read_2)(void *ddp, uint32_t addr); uint32_t (*bus_read_4)(void *ddp, uint32_t addr);