diff --git a/include/ChangeLog b/include/ChangeLog index 71395d3a..8c097679 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-08-11 Marcel Telka + + * brux/bus.h (struct bus): Added new member 'printinfo'. + 2003-07-30 Marcel Telka * configure.ac (AC_INIT): Changed version number to 0.3. diff --git a/include/brux/bus.h b/include/brux/bus.h index b1a31a10..90086a3c 100644 --- a/include/brux/bus.h +++ b/include/brux/bus.h @@ -41,6 +41,7 @@ typedef struct bus bus_t; struct bus { void *params; + void (*printinfo)( void ); void (*prepare)( bus_t *bus ); unsigned int (*width)( bus_t *bus, uint32_t adr ); void (*read_start)( bus_t *bus, uint32_t adr ); @@ -53,6 +54,7 @@ struct bus { extern bus_t *bus; +#define bus_printinfo(bus) bus->printinfo() #define bus_prepare(bus) bus->prepare(bus) #define bus_width(bus,adr) bus->width(bus,adr) #define bus_read_start(bus,adr) bus->read_start(bus,adr)