firewire_softc
int (*get_handle)(int socket, struct firewire_softc **handle);
status_t (*device_attach)(struct firewire_softc *sc, void **cookie);
status_t (*device_detach)(struct firewire_softc *sc, void *cookie);
int firewire_attach(struct firewire_comm *fc, struct firewire_softc *sc);
void firewire_detach(struct firewire_softc *sc);
firewire_add_child(struct firewire_softc *sc, const char *childname,
firewire_remove_child(struct firewire_softc *sc, const char *childname)
firewire_attach(struct firewire_comm *fc, struct firewire_softc *sc)
firewire_detach(struct firewire_softc *sc)
fw_get_handle(int socket, struct firewire_softc **handle)
struct firewire_softc *fw_sc;
fw_sc = (firewire_softc*)malloc(sizeof(struct firewire_softc));
memset(fw_sc, 0, sizeof(struct firewire_softc));
struct firewire_softc *gFirewire_softc[MAX_CARDS];
extern struct firewire_softc *gFirewire_softc[MAX_CARDS];
struct firewire_softc *sc = NULL;
struct firewire_softc *sc = NULL;