version 1.1, 2007/11/09 16:03:49 |
version 1.2, 2007/11/09 18:13:38 |
|
|
|
|
|
|
int |
int |
saapbus_attach(struct device *self, uint32_t loc, uint32_t flags) |
saapbus_attach(struct device *self, uint32_t loc, uint8_t flags) |
{ |
{ |
struct saapbus_dd *ddp = self->dv_devdata; |
struct saapbus_dd *ddp = self->dv_devdata; |
struct bus_handle *bhp = &ddp->od_bh; |
struct bus_handle *bhp = &ddp->sd_bushandle; |
|
|
bhp->bus_read_1 = saapbus_read_1; |
bhp->bus_read_1 = saapbus_read_1; |
bhp->bus_read_2 = saapbus_read_2; |
bhp->bus_read_2 = saapbus_read_2; |