diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index d90008483ef6..35fdb28f1679 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -976,10 +976,14 @@ cbb_intr(void *arg) /* * This ISR needs work XXX */ +printf("Cbb 1\n"); sockevent = cbb_get(sc, CBB_SOCKET_EVENT); +printf("Cbb 2\n"); if (sockevent) { +printf("Cbb 3\n"); /* ack the interrupt */ cbb_setb(sc, CBB_SOCKET_EVENT, sockevent); +printf("Cbb 4\n"); /* * If anything has happened to the socket, we assume that @@ -995,11 +999,13 @@ cbb_intr(void *arg) * excellent results. */ if (sockevent & CBB_SOCKET_EVENT_CD) { +printf("Cbb 5\n"); mtx_lock(&sc->mtx); sc->flags &= ~CBB_CARD_OK; cv_signal(&sc->cv); mtx_unlock(&sc->mtx); } +printf("Cbb 6\n"); if (sockevent & CBB_SOCKET_EVENT_CSTS) { DPRINTF((" cstsevent occured: 0x%08x\n", cbb_get(sc, CBB_SOCKET_STATE))); @@ -1011,7 +1017,9 @@ cbb_intr(void *arg) /* Other bits? */ } if (sc->flags & CBB_CARD_OK) { +printf("Cbb 7\n"); STAILQ_FOREACH(ih, &sc->intr_handlers, entries) { +printf("Cbb 8\n"); (*ih->intr)(ih->arg); } } diff --git a/sys/dev/pccbb/pccbbdevid.h b/sys/dev/pccbb/pccbbdevid.h index e76c6fdd5b1c..6639c6a5b1eb 100644 --- a/sys/dev/pccbb/pccbbdevid.h +++ b/sys/dev/pccbb/pccbbdevid.h @@ -68,7 +68,7 @@ #define PCIC_ID_TI1450 0xac1b104cul #define PCIC_ID_TI1451 0xac52104cul #define PCIC_ID_TI1510 0xac56104cul -#define PCIC_ID_TI1510 0xac58104cul +#define PCIC_ID_TI1515 0xac58104cul #define PCIC_ID_TI1520 0xac55104cul #define PCIC_ID_TI1530 0xac57104cul #define PCIC_ID_TI1620 0xac54104cul