uba_unit
struct uba_unit sc_unit; /* Struct common for UBA to talk */
struct uba_unit sc_uu; /* Struct for UBA to communicate */
static int tsready(struct uba_unit *);
tsready(struct uba_unit *uu)
struct uba_unit *uu;
uba_enqueue(struct uba_unit *uu)
void uba_enqueue(struct uba_unit *);
SIMPLEQ_HEAD(, uba_unit) uh_resq; /* resource wait chain */
SIMPLEQ_ENTRY(uba_unit) uu_resq;/* Queue while waiting for resources */
int (*uu_ready)(struct uba_unit *);
static int udaready(struct uba_unit *);
struct uba_unit *uu;
uu = malloc(sizeof(struct uba_unit), M_DEVBUF, M_NOWAIT|M_ZERO);
udaready(struct uba_unit *uu)
struct uba_unit sc_unit; /* Struct common for UBA to communicate */