All pastes #677305 Raw Edit

Anonymous

public text v1 · immutable
#677305 ·published 2007-08-31 21:53 UTC
rendered paste body
static void happy_meal_tcvr_write(struct happy_meal *hp,
                                  unsigned long tregs, int reg,
                                  unsigned short value)
{
        int tries = TCVR_WRITE_TRIES;

        ASD(("happy_meal_tcvr_write: reg=0x%02x value=%04xn", reg,
value));

        /* Welcome to Sun Microsystems, can I take your order please? */
        if (!hp->happy_flags & HFLAG_FENABLE)
                return happy_meal_bb_write(hp, tregs, reg, value);

        /* Would you like fries with that? */
        hme_write32(hp, tregs + TCVR_FRAME,
                    (FRAME_WRITE | (hp->paddr